Enable rtc_opus_support_dred in build scripts

This commit is contained in:
Jim Gustafson 2026-04-06 16:09:50 -07:00
parent 5c7edfd8c5
commit db369de324
3 changed files with 3 additions and 2 deletions

View File

@ -215,6 +215,7 @@ def BuildArch(dry_run, project_dir, webrtc_src_dir, build_dir, arch, debug_build
'rtc_disable_trace_events': 'true',
'android_static_analysis': '"off"',
'use_siso': 'true',
'rtc_opus_support_dred': 'true'
}
if debug_build is True:
gn_args['is_debug'] = 'true'

View File

@ -126,7 +126,7 @@ if [ "${BUILD_WHAT}" = "all" ] || [ "${BUILD_WHAT}" = "webrtc" ]
then
echo "Building WebRTC for ${GN_ARCH}"
WEBRTC_ARGS="target_cpu=\"${GN_ARCH}\" rtc_build_examples=false rtc_build_tools=false rtc_use_x11=false rtc_enable_sctp=false rtc_libvpx_build_vp9=true rtc_disable_metrics=true rtc_disable_trace_events=true use_siso=true"
WEBRTC_ARGS="target_cpu=\"${GN_ARCH}\" rtc_build_examples=false rtc_build_tools=false rtc_use_x11=false rtc_enable_sctp=false rtc_libvpx_build_vp9=true rtc_disable_metrics=true rtc_disable_trace_events=true use_siso=true rtc_opus_support_dred=true"
if [ -n "${BUILD_WEBRTC_TESTS}" ]
then

View File

@ -133,7 +133,7 @@ then
else
ARCHS=("simulator:x64" "simulator:arm64" "device:arm64")
fi
EXTRA_GN_ARGS="rtc_build_examples=false rtc_build_tools=false rtc_include_tests=false rtc_enable_protobuf=false rtc_enable_sctp=false rtc_libvpx_build_vp9=true rtc_disable_metrics=true rtc_disable_trace_events=true"
EXTRA_GN_ARGS="rtc_build_examples=false rtc_build_tools=false rtc_include_tests=false rtc_enable_protobuf=false rtc_enable_sctp=false rtc_libvpx_build_vp9=true rtc_disable_metrics=true rtc_disable_trace_events=true rtc_opus_support_dred=true"
WEBRTC_BUILD_DIR="${WEBRTC_SRC_DIR}/out/${BUILD_TYPE}"
(cd "${WEBRTC_SRC_DIR}" && ./tools_webrtc/ios/build_ios_libs.py -o "${WEBRTC_BUILD_DIR}" --build_config ${BUILD_TYPE} --arch "${ARCHS[@]}" --deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" --extra-gn-args "${EXTRA_GN_ARGS}")