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

Commit 43f2caf

Browse files
authored
Copy QUIC SDK headers to build directory. (#928)
1 parent 25a0a8a commit 43f2caf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/installCommonDeps.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ install_quic(){
311311
# QUIC transport
312312
local QUIC_SDK_VERSION=`cat ${ROOT}/source/agent/addons/quic/quic_sdk_version`
313313
local QUIC_TRANSPORT_PATH=${ROOT}/third_party/quic-transport
314+
local QUIC_HEADERS_DIR=${ROOT}/build/libdeps/build/include/owt
314315
if [ -d ${QUIC_TRANSPORT_PATH} ]; then
315316
rm -r ${QUIC_TRANSPORT_PATH}
316317
fi
@@ -321,6 +322,10 @@ install_quic(){
321322
unzip ${QUIC_SDK_VERSION}.zip
322323
rm ${QUIC_SDK_VERSION}.zip
323324
cp bin/release/libowt_quic_transport.so ${ROOT}/build/libdeps/build/lib
325+
if [ -d ${QUIC_HEADERS_DIR} ]; then
326+
rm -r ${QUIC_HEADERS_DIR}
327+
fi
328+
cp -r include/owt ${QUIC_HEADERS_DIR}
324329
else
325330
read -p "Failed to download prebuild QUIC SDK. Please download and compile QUIC SDK version ${QUIC_SDK_VERSION} from https://github.com/open-webrtc-toolkit/owt-deps-quic."
326331
fi

source/agent/addons/quic/binding.gyp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
'../../../core/common',
4040
'../../../core/owt_base',
4141
'../../../../build/libdeps/build/include',
42-
# TODO: Fix it when CI for QUIC SDK is ready.
43-
'/home/jianjunz/code/quic/src/owt/quic_transport/api',
4442
'<!@(pkg-config glib-2.0 --cflags-only-I | sed s/-I//g)',
4543
],
4644
'ldflags': [

0 commit comments

Comments
 (0)