Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 29128b1

Browse files
committed
Initial version of README
1 parent 3252e06 commit 29128b1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## QUIC RAW Library
2+
3+
This library is based on chromium source code and exposes basic interfaces for raw data transporting.
4+
5+
## How to build
6+
1. Get the chromium code. (https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md)
7+
2. Reset chromium commit close to 0d7f510fc898d4040d474a58b0eb609c43b6ac20.
8+
3. Copy the code into chromium directory.
9+
- cp -r src ${chromium}/src/net/tools/quic/raw
10+
4. Patch the BUILD.gn file in chromium code.
11+
- cd ${chroumium}
12+
- git apply ${this-repo}/build-gn.patch
13+
5. Set "is_debug=false" for gn args, build chromium target.
14+
- ninja -C ${out-directory} rawquic
15+
16+
## How to use
17+
1. Build the library yourself or download from link(TO-DO).
18+
2. Add ${this-repo}/src/wrapper to include dir.
19+
3. Same compile steps as other shared libraries.
20+
Note that since our .so file is compiled through chromium's clang, clang is recommended for linking.
21+
22+
## About example
23+
1. Place the .so file in ${this-repo}/lib
24+
2. cd example/ && make

0 commit comments

Comments
 (0)