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

Commit d9652bd

Browse files
authored
Exclude libaom for cloud gaming. (#701)
1 parent ea94170 commit d9652bd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

scripts/build-win.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
GN_ARGS = [
2929
'is_component_build=false',
3030
'use_lld=false',
31-
'enable_libaom=true',
3231
'rtc_build_examples=false',
3332
'treat_warnings_as_errors=false',
3433
]
@@ -85,6 +84,9 @@ def gngen(arch, sio_root, ffmpeg_root, ssl_root, msdk_root, quic_root, scheme, t
8584
gn_args.append('rtc_enable_protobuf=false')
8685
gn_args.append('rtc_enable_win_wgc=false')
8786
gn_args.append('owt_cloud_gaming=true')
87+
gn_args.append('enable_libaom=false')
88+
else:
89+
gn_args.append('enable_libaom=true')
8890
if sio_root:
8991
# If sio_root is not specified, conference SDK is not able to build.
9092
gn_args.append('owt_sio_header_root="%s"' % (sio_root + r'\include'))

scripts/build_linux.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
PARALLEL_TEST_TARGET_LIST = ['rtc_unittests', 'video_engine_tests']
2727

2828
GN_ARGS = [
29-
'enable_libaom=true',
3029
'is_component_build=false',
3130
'rtc_build_examples=false',
3231
# Upstream only officially supports clang, so we need to suppress warnings
@@ -91,7 +90,9 @@ def gngen(arch, sio_root, ffmpeg_root, ssl_root, msdk_root, quic_root, scheme, t
9190
else:
9291
gn_args.extend(['is_component_build=false'])
9392
if cloud_gaming:
94-
gn_args.extend(['owt_cloud_gaming=true'])
93+
gn_args.extend(['owt_cloud_gaming=true', 'enable_libaom=false'])
94+
else:
95+
gn_args.extend(['enable_libaom=true'])
9596
if ffmpeg_root:
9697
gn_args.append('owt_ffmpeg_header_root="%s"'%(ffmpeg_root+'/include'))
9798
if ffmpeg_root or msdk_root or cloud_gaming:

0 commit comments

Comments
 (0)