Index: webrtc/modules/audio_coding/BUILD.gn |
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn |
index 2ebb86be468a6c125eb1037ebcb82d263b7abe2e..dfe2e68b68e3bc76f5aa2ad910fb9a1dd49b45b5 100644 |
--- a/webrtc/modules/audio_coding/BUILD.gn |
+++ b/webrtc/modules/audio_coding/BUILD.gn |
@@ -828,6 +828,7 @@ rtc_static_library("webrtc_opus") { |
":audio_network_adaptor", |
"../..:webrtc_common", |
"../../api/audio_codecs:audio_codecs_api", |
+ "../../api/audio_codecs/opus:audio_encoder_opus_config", |
"../../base:protobuf_utils", |
"../../base:rtc_base_approved", |
"../../base:rtc_numerics", |
@@ -839,11 +840,6 @@ rtc_static_library("webrtc_opus") { |
] |
defines = audio_codec_defines |
- if (rtc_opus_variable_complexity) { |
- defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
- } else { |
- defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
- } |
if (rtc_build_opus) { |
public_deps += [ rtc_opus_dir ] |
@@ -1482,6 +1478,7 @@ if (rtc_include_tests) { |
":neteq", |
":neteq_tools", |
"../../api/audio_codecs:audio_codecs_api", |
+ "../../api/audio_codecs/opus:audio_encoder_opus", |
"../../base:protobuf_utils", |
"../../common_audio", |
"../../test:test_main", |