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

Commit 47f2751

Browse files
committed
Change gn args for h265 use
1 parent b35686f commit 47f2751

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/installWebrtc.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
SSL_GNI=$(cat <<-END
3+
GNI_APPEND=$(cat <<-END
44
declare_args() {
55
build_with_owt = false
66
owt_use_openssl = false
@@ -29,6 +29,7 @@ END
2929
# comment is_debug=false for debugging
3030
GN_ARGS=$(cat <<-END
3131
rtc_use_h264=true
32+
rtc_use_h265=true
3233
ffmpeg_branding="Chrome"
3334
is_component_build=false
3435
use_lld=false
@@ -43,6 +44,7 @@ rtc_enable_libevent=false
4344
rtc_build_libevent=false
4445
is_debug=false
4546
47+
4648
END
4749
)
4850

@@ -70,7 +72,8 @@ download_and_build(){
7072
else
7173
git clone -b 88-sdk https://github.com/open-webrtc-toolkit/owt-deps-webrtc.git src
7274
mkdir -p src/build_overrides/ssl
73-
echo $SSL_GNI > src/build_overrides/ssl/ssl.gni
75+
echo "" > src/build_overrides/ssl/ssl.gni
76+
echo $GNI_APPEND >> src/build_overrides/build.gni
7477
echo $GCLIENT_CONFIG > .gclient
7578
fi
7679

0 commit comments

Comments
 (0)