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

Commit ea94170

Browse files
authored
build/cg: disable protobuf and wgc for windows cg build (#702)
* Disable protobuf for windows cloud_gaming build OWT build adds copy of protobuf into the final library, so if user application does use protobuf already there will be link errors due to duplicated symbols. Disabling protobuf for cloud gaming build explicitly. Signed-off-by: Dmitry Rogozhkin <[email protected]> * Disable rtc_enable_win_wgc for windows cloud gaming build That's just optimization for cloud gaming build to exclude component from the build which we don't need. Signed-off-by: Dmitry Rogozhkin <[email protected]> --------- Signed-off-by: Dmitry Rogozhkin <[email protected]>
1 parent b89f308 commit ea94170

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build-win.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def gngen(arch, sio_root, ffmpeg_root, ssl_root, msdk_root, quic_root, scheme, t
8282
gn_args.append('rtc_include_tests=false')
8383
gn_args.append('owt_include_tests=false')
8484
if cloud_gaming:
85+
gn_args.append('rtc_enable_protobuf=false')
86+
gn_args.append('rtc_enable_win_wgc=false')
8587
gn_args.append('owt_cloud_gaming=true')
8688
if sio_root:
8789
# If sio_root is not specified, conference SDK is not able to build.

0 commit comments

Comments
 (0)