blob: 93d3ec67e57e8da77db0f8df5b7f2072330e2d4a [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +00009import("//build/config/arm.gni")
mbonadei9aa3f0a2017-01-24 06:58:22 -080010import("../../webrtc.gni")
Dan Minor9c686132018-01-15 10:20:00 -050011if (!build_with_mozilla) {
12 import("//third_party/protobuf/proto_library.gni")
13}
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000014
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000015declare_args() {
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000016 # Disables the usual mode where we trust the reported system delay
17 # values the AEC receives. The corresponding define is set appropriately
18 # in the code, but it can be force-enabled here for testing.
19 aec_untrusted_delay_for_testing = false
20}
21
Patrik Höglundd75c8dc2017-12-19 09:45:24 +010022config("apm_debug_dump") {
23 if (apm_debug_dump) {
24 defines = [ "WEBRTC_APM_DEBUG_DUMP=1" ]
25 } else {
26 defines = [ "WEBRTC_APM_DEBUG_DUMP=0" ]
27 }
28}
29
kjellanderb62dbbe2016-09-23 00:38:52 -070030rtc_static_library("audio_processing") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000031 visibility = [ "*" ]
Patrik Höglundd75c8dc2017-12-19 09:45:24 +010032 configs += [ ":apm_debug_dump" ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000033 sources = [
peah88950cf2016-03-04 00:12:40 -080034 "aec/aec_resampler.cc",
pbos@webrtc.org788acd12014-12-15 09:41:24 +000035 "aec/aec_resampler.h",
peah8df5d4f2016-02-23 14:34:59 -080036 "aec/echo_cancellation.cc",
Henrik Kjellander9b72af92015-11-11 20:16:11 +010037 "aec/echo_cancellation.h",
pbos@webrtc.org788acd12014-12-15 09:41:24 +000038 "agc/agc.cc",
39 "agc/agc.h",
pbos@webrtc.org788acd12014-12-15 09:41:24 +000040 "agc/agc_manager_direct.cc",
41 "agc/agc_manager_direct.h",
pbos@webrtc.org788acd12014-12-15 09:41:24 +000042 "agc/gain_map_internal.h",
peahbbe42332016-06-08 06:42:02 -070043 "agc/loudness_histogram.cc",
44 "agc/loudness_histogram.h",
pbos@webrtc.org788acd12014-12-15 09:41:24 +000045 "agc/utility.cc",
46 "agc/utility.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000047 "audio_buffer.cc",
48 "audio_buffer.h",
49 "audio_processing_impl.cc",
50 "audio_processing_impl.h",
aluebs4a66e4a2015-10-19 18:02:39 -070051 "beamformer/array_util.cc",
52 "beamformer/array_util.h",
aluebs@webrtc.org0c39e912014-12-18 22:22:04 +000053 "beamformer/complex_matrix.h",
54 "beamformer/covariance_matrix_generator.cc",
55 "beamformer/covariance_matrix_generator.h",
56 "beamformer/matrix.h",
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000057 "beamformer/nonlinear_beamformer.cc",
58 "beamformer/nonlinear_beamformer.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000059 "common.h",
60 "echo_cancellation_impl.cc",
61 "echo_cancellation_impl.h",
62 "echo_control_mobile_impl.cc",
63 "echo_control_mobile_impl.h",
ivocaf27ed02016-10-28 07:04:03 -070064 "echo_detector/circular_buffer.cc",
65 "echo_detector/circular_buffer.h",
66 "echo_detector/mean_variance_estimator.cc",
67 "echo_detector/mean_variance_estimator.h",
ivoc4e477a12017-01-15 08:29:46 -080068 "echo_detector/moving_max.cc",
69 "echo_detector/moving_max.h",
ivocaf27ed02016-10-28 07:04:03 -070070 "echo_detector/normalized_covariance_estimator.cc",
71 "echo_detector/normalized_covariance_estimator.h",
peahbe615622016-02-13 16:40:47 -080072 "gain_control_for_experimental_agc.cc",
73 "gain_control_for_experimental_agc.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000074 "gain_control_impl.cc",
75 "gain_control_impl.h",
Alex Loikoe36e8bb2018-02-16 11:54:07 +010076 "gain_controller2.cc",
77 "gain_controller2.h",
peahc19f3122016-10-07 14:54:10 -070078 "include/audio_processing.cc",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000079 "include/audio_processing.h",
solenberg88499ec2016-09-07 07:34:41 -070080 "include/config.cc",
81 "include/config.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000082 "level_estimator_impl.cc",
83 "level_estimator_impl.h",
peah8271d042016-11-22 07:24:52 -080084 "low_cut_filter.cc",
85 "low_cut_filter.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000086 "noise_suppression_impl.cc",
87 "noise_suppression_impl.h",
peah737f4b82016-03-10 23:05:28 -080088 "render_queue_item_verifier.h",
ivoc9f4a4a02016-10-28 05:39:16 -070089 "residual_echo_detector.cc",
90 "residual_echo_detector.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000091 "rms_level.cc",
92 "rms_level.h",
aluebs@webrtc.orgbe05c742014-11-14 22:18:10 +000093 "splitting_filter.cc",
94 "splitting_filter.h",
Alejandro Luebs5a92aa82015-04-27 11:34:45 -070095 "three_band_filter_bank.cc",
96 "three_band_filter_bank.h",
pbos@webrtc.org788acd12014-12-15 09:41:24 +000097 "transient/common.h",
98 "transient/daubechies_8_wavelet_coeffs.h",
99 "transient/dyadic_decimator.h",
100 "transient/moving_moments.cc",
101 "transient/moving_moments.h",
102 "transient/transient_detector.cc",
103 "transient/transient_detector.h",
104 "transient/transient_suppressor.cc",
105 "transient/transient_suppressor.h",
106 "transient/wpd_node.cc",
107 "transient/wpd_node.h",
108 "transient/wpd_tree.cc",
109 "transient/wpd_tree.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000110 "typing_detection.cc",
111 "typing_detection.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000112 "voice_detection_impl.cc",
113 "voice_detection_impl.h",
114 ]
115
116 defines = []
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200117 deps = [
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100118 ":aec_core",
aleloi868f32f2017-05-23 07:20:05 -0700119 ":aec_dump_interface",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100120 ":apm_logging",
Alex Loikoe36e8bb2018-02-16 11:54:07 +0100121 ":audio_frame_view",
Sam Zackrisson4d364492018-03-02 16:03:21 +0100122 ":audio_generator_interface",
Mirko Bonadei10679932017-12-05 15:07:16 +0100123 ":audio_processing_c",
Ivo Creusen56d46092017-11-24 17:29:59 +0100124 ":audio_processing_statistics",
mbonadei1140f972017-04-26 03:38:35 -0700125 "..:module_api",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100126 "../..:typedefs",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200127 "../..:webrtc_common",
kwiberg529662a2017-09-04 05:43:17 -0700128 "../../api:array_view",
kwiberg84f6a3f2017-09-05 08:43:13 -0700129 "../../api:optional",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100130 "../../api/audio:aec3_config",
131 "../../api/audio:echo_control",
aleloi6321b492016-12-05 01:46:09 -0800132 "../../audio/utility:audio_frame_operations",
Mirko Bonadeidbbb33c2018-02-05 15:50:41 +0100133 "../../common_audio:common_audio_c",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100134 "../../rtc_base:checks",
Patrik Höglund3e113432017-12-15 14:40:10 +0100135 "../../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700136 "../../rtc_base:gtest_prod",
137 "../../rtc_base:protobuf_utils",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100138 "../../rtc_base:sanitizer",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100139 "../../system_wrappers:cpu_features_api",
Per Åhgren11556462017-12-22 16:13:57 +0100140 "../../system_wrappers:field_trial_api",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100141 "../../system_wrappers:metrics_api",
Alex Loikoe36e8bb2018-02-16 11:54:07 +0100142 "agc2",
Alex Loiko0488fcf2018-02-05 11:15:23 +0100143 "vad",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200144 ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000145
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000146 if (aec_untrusted_delay_for_testing) {
147 defines += [ "WEBRTC_UNTRUSTED_DELAY" ]
148 }
149
kjellander@webrtc.org6d08ca62014-09-07 17:36:10 +0000150 if (rtc_enable_protobuf) {
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000151 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ]
152 deps += [ ":audioproc_debug_proto" ]
153 }
154
peah1bcfce52016-08-26 07:16:04 -0700155 if (rtc_enable_intelligibility_enhancer) {
156 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
157 sources += [
158 "intelligibility/intelligibility_enhancer.cc",
159 "intelligibility/intelligibility_enhancer.h",
160 "intelligibility/intelligibility_utils.cc",
161 "intelligibility/intelligibility_utils.h",
162 ]
163 } else {
164 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
165 }
166
kjellander@webrtc.org6d08ca62014-09-07 17:36:10 +0000167 if (rtc_prefer_fixed_point) {
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000168 defines += [ "WEBRTC_NS_FIXED" ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000169 } else {
170 defines += [ "WEBRTC_NS_FLOAT" ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000171 }
172
kjellander8f4419b2016-06-02 02:09:52 -0700173 # TODO(jschuh): Bug 1348: fix this warning.
174 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000175
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000176 deps += [
177 "../../common_audio",
Patrik Höglundf715c532017-11-17 11:04:15 +0100178 "../../common_audio:fir_filter",
179 "../../common_audio:fir_filter_factory",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700180 "../../rtc_base:rtc_base_approved",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000181 "../../system_wrappers",
182 ]
183}
184
Ivo Creusen56d46092017-11-24 17:29:59 +0100185rtc_source_set("audio_processing_statistics") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000186 visibility = [ "*" ]
Ivo Creusen56d46092017-11-24 17:29:59 +0100187 sources = [
188 "include/audio_processing_statistics.cc",
189 "include/audio_processing_statistics.h",
190 ]
191 deps = [
192 "../../api:optional",
193 ]
194}
195
Alex Loikoe36e8bb2018-02-16 11:54:07 +0100196rtc_source_set("audio_frame_view") {
197 sources = [
198 "include/audio_frame_view.h",
199 ]
200 deps = [
201 "../../api:array_view",
202 ]
203}
204
aleloi868f32f2017-05-23 07:20:05 -0700205rtc_source_set("aec_dump_interface") {
206 sources = [
207 "include/aec_dump.cc",
208 "include/aec_dump.h",
209 ]
210
211 deps = [
Alex Loikoe36e8bb2018-02-16 11:54:07 +0100212 ":audio_frame_view",
kwiberg529662a2017-09-04 05:43:17 -0700213 "../../api:array_view",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700214 "../../rtc_base:rtc_base_approved",
aleloi868f32f2017-05-23 07:20:05 -0700215 ]
216}
217
Sam Zackrisson4d364492018-03-02 16:03:21 +0100218rtc_source_set("audio_generator_interface") {
219 visibility = [ "*" ]
220 sources = [
221 "include/audio_generator.h",
222 ]
223 deps = [
224 ":audio_frame_view",
225 "../../rtc_base:rtc_base_approved",
226 "../../system_wrappers:system_wrappers",
227 ]
228}
229
230rtc_source_set("audio_generator_factory") {
231 visibility = [ "*" ]
232 sources = [
233 "include/audio_generator_factory.cc",
234 "include/audio_generator_factory.h",
235 ]
236 deps = [
237 ":audio_generator_interface",
238 ":file_audio_generator",
239 "../../common_audio:common_audio",
240 "../../rtc_base:rtc_base_approved",
241 "../../system_wrappers:system_wrappers",
242 ]
243}
244
245rtc_source_set("file_audio_generator") {
246 sources = [
247 "audio_generator/file_audio_generator.cc",
248 "audio_generator/file_audio_generator.h",
249 ]
250 deps = [
251 ":audio_generator_interface",
252 "../../common_audio:common_audio",
253 "../../rtc_base:rtc_base_approved",
254 "../../system_wrappers:system_wrappers",
255 ]
256}
257
kjellander7439f972016-12-05 22:47:46 -0800258rtc_source_set("audio_processing_c") {
259 visibility = [ ":*" ] # Only targets in this file can depend on this.
260 sources = [
261 "agc/legacy/analog_agc.c",
262 "agc/legacy/analog_agc.h",
263 "agc/legacy/digital_agc.c",
264 "agc/legacy/digital_agc.h",
265 "agc/legacy/gain_control.h",
266 ]
267
268 if (rtc_prefer_fixed_point) {
269 sources += [
270 "ns/noise_suppression_x.c",
271 "ns/noise_suppression_x.h",
272 "ns/nsx_core.c",
273 "ns/nsx_core.h",
274 "ns/nsx_defines.h",
275 ]
276 if (current_cpu == "mipsel") {
277 sources += [ "ns/nsx_core_mips.c" ]
278 } else {
279 sources += [ "ns/nsx_core_c.c" ]
280 }
281 } else {
282 sources += [
283 "ns/defines.h",
284 "ns/noise_suppression.c",
285 "ns/noise_suppression.h",
286 "ns/ns_core.c",
287 "ns/ns_core.h",
288 "ns/windows_private.h",
289 ]
290 }
291
292 deps = [
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100293 "../..:typedefs",
ehmaldonado64c4a7e2016-12-08 04:10:01 -0800294 "../..:webrtc_common",
kjellander7439f972016-12-05 22:47:46 -0800295 "../../common_audio",
Mirko Bonadeidbbb33c2018-02-05 15:50:41 +0100296 "../../common_audio:common_audio_c",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100297 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700298 "../../rtc_base:rtc_base_approved",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100299 "../../system_wrappers:cpu_features_api",
kjellander7439f972016-12-05 22:47:46 -0800300 ]
mbonadeie5dc3ce2017-01-25 05:34:46 -0800301
302 if (rtc_build_with_neon) {
Patrik Höglund67c20ae2017-12-18 11:21:14 +0100303 sources += [ "ns/nsx_core_neon.c" ]
304
305 if (current_cpu != "arm64") {
306 # Enable compilation for the NEON instruction set. This is needed
307 # since //build/config/arm.gni only enables NEON for iOS, not Android.
308 # This provides the same functionality as webrtc/build/arm_neon.gypi.
309 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
310 cflags = [ "-mfpu=neon" ]
311 }
312
313 # Disable LTO on NEON targets due to compiler bug.
314 # TODO(fdegans): Enable this. See crbug.com/408997.
315 if (rtc_use_lto) {
316 cflags -= [
317 "-flto",
318 "-ffat-lto-objects",
319 ]
320 }
mbonadeie5dc3ce2017-01-25 05:34:46 -0800321 }
kjellander7439f972016-12-05 22:47:46 -0800322}
323
kjellander@webrtc.org6d08ca62014-09-07 17:36:10 +0000324if (rtc_enable_protobuf) {
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000325 proto_library("audioproc_debug_proto") {
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200326 sources = [
327 "debug.proto",
328 ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000329
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200330 proto_out_dir = "modules/audio_processing"
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000331 }
332}
333
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100334rtc_source_set("apm_logging") {
Patrik Höglundd75c8dc2017-12-19 09:45:24 +0100335 configs += [ ":apm_debug_dump" ]
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100336 sources = [
337 "logging/apm_data_dumper.cc",
338 "logging/apm_data_dumper.h",
339 ]
340 deps = [
341 "../../api:array_view",
342 "../../common_audio:common_audio",
343 "../../rtc_base:rtc_base_approved",
Patrik Höglund3e113432017-12-15 14:40:10 +0100344 "../../rtc_base:stringutils",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100345 ]
346 defines = []
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100347}
Patrik Höglunda36d0e22017-12-04 10:11:11 +0000348
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100349rtc_source_set("aec_core") {
Patrik Höglundd75c8dc2017-12-19 09:45:24 +0100350 configs += [ ":apm_debug_dump" ]
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100351 sources = [
Patrik Höglund62139292017-12-19 16:44:45 +0100352 "aec/aec_common.h",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100353 "aec/aec_core.cc",
354 "aec/aec_core.h",
355 "aec/aec_core_optimized_methods.h",
356 "aecm/aecm_core.cc",
357 "aecm/aecm_core.h",
Patrik Höglund62139292017-12-19 16:44:45 +0100358 "aecm/aecm_defines.h",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100359 "aecm/echo_control_mobile.cc",
360 "aecm/echo_control_mobile.h",
361 "utility/block_mean_calculator.cc",
362 "utility/block_mean_calculator.h",
363 "utility/delay_estimator.cc",
364 "utility/delay_estimator.h",
365 "utility/delay_estimator_internal.h",
366 "utility/delay_estimator_wrapper.cc",
367 "utility/delay_estimator_wrapper.h",
368 "utility/ooura_fft.cc",
369 "utility/ooura_fft.h",
370 "utility/ooura_fft_tables_common.h",
371 ]
372 deps = [
373 ":apm_logging",
374 ":audio_processing_statistics",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100375 "../..:typedefs",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100376 "../..:webrtc_common",
377 "../../common_audio:common_audio",
Mirko Bonadeidbbb33c2018-02-05 15:50:41 +0100378 "../../common_audio:common_audio_c",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100379 "../../rtc_base:checks",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100380 "../../rtc_base:rtc_base_approved",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100381 "../../rtc_base:sanitizer",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100382 "../../system_wrappers:cpu_features_api",
383 "../../system_wrappers:metrics_api",
384 ]
385 cflags = []
386 defines = []
387
388 if (current_cpu == "x86" || current_cpu == "x64") {
389 sources += [
peah8df5d4f2016-02-23 14:34:59 -0800390 "aec/aec_core_sse2.cc",
peah81b92912016-10-06 06:46:20 -0700391 "utility/ooura_fft_sse2.cc",
392 "utility/ooura_fft_tables_neon_sse2.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000393 ]
Henrik Kjellanderf2497cf2015-04-16 08:57:16 +0200394 if (is_posix) {
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100395 cflags += [ "-msse2" ]
peahb46083e2016-05-03 07:01:18 -0700396 }
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000397 }
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000398
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100399 if (rtc_build_with_neon) {
400 sources += [
peah8df5d4f2016-02-23 14:34:59 -0800401 "aec/aec_core_neon.cc",
peah27045122016-04-10 22:38:14 -0700402 "aecm/aecm_core_neon.cc",
peah81b92912016-10-06 06:46:20 -0700403 "utility/ooura_fft_neon.cc",
404 "utility/ooura_fft_tables_neon_sse2.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000405 ]
406
kjellander@webrtc.org72273912015-02-23 19:08:31 +0000407 if (current_cpu != "arm64") {
Andrew MacDonaldac4234c2015-06-24 18:25:54 -0700408 # Enable compilation for the NEON instruction set. This is needed
409 # since //build/config/arm.gni only enables NEON for iOS, not Android.
410 # This provides the same functionality as webrtc/build/arm_neon.gypi.
ehmaldonado38a21322016-09-02 04:10:34 -0700411 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100412 cflags += [ "-mfpu=neon" ]
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000413 }
414
Andrew MacDonaldac4234c2015-06-24 18:25:54 -0700415 # Disable LTO on NEON targets due to compiler bug.
416 # TODO(fdegans): Enable this. See crbug.com/408997.
kjellander@webrtc.org6d08ca62014-09-07 17:36:10 +0000417 if (rtc_use_lto) {
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000418 cflags -= [
419 "-flto",
420 "-ffat-lto-objects",
421 ]
422 }
Andrew MacDonaldac4234c2015-06-24 18:25:54 -0700423
Patrik Höglund67c20ae2017-12-18 11:21:14 +0100424 deps += [ "../../common_audio" ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000425 }
kjellander7439f972016-12-05 22:47:46 -0800426
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100427 if (current_cpu == "mipsel") {
428 sources += [ "aecm/aecm_core_mips.cc" ]
429 if (mips_float_abi == "hard") {
430 sources += [
431 "aec/aec_core_mips.cc",
432 "utility/ooura_fft_mips.cc",
433 ]
434 }
435 } else {
436 sources += [ "aecm/aecm_core_c.cc" ]
437 }
Patrik Höglundf39659c2017-12-12 11:16:05 +0100438
439 # TODO(jschuh): Bug 1348: fix this warning.
440 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100441}
442
kjellanderfb114242016-06-13 00:19:48 -0700443if (rtc_include_tests) {
Patrik Höglund62139292017-12-19 16:44:45 +0100444 rtc_source_set("mocks") {
445 testonly = true
446 sources = [
447 "include/mock_audio_processing.h",
448 ]
449 deps = [
450 ":aec_dump_interface",
451 ":audio_processing",
452 ":audio_processing_statistics",
453 "../../test:test_support",
454 ]
455 }
456
kjellander6ceab082016-10-28 05:44:03 -0700457 group("audio_processing_tests") {
458 testonly = true
Mirko Bonadei10679932017-12-05 15:07:16 +0100459 deps = [
kjellander6ceab082016-10-28 05:44:03 -0700460 ":audioproc_test_utils",
461 ":click_annotate",
462 ":nonlinear_beamformer_test",
463 ":transient_suppression_test",
kjellander6ceab082016-10-28 05:44:03 -0700464 ]
465
466 if (rtc_enable_intelligibility_enhancer) {
Mirko Bonadei10679932017-12-05 15:07:16 +0100467 deps += [ ":intelligibility_proc" ]
kjellander6ceab082016-10-28 05:44:03 -0700468 }
469
470 if (rtc_enable_protobuf) {
Mirko Bonadei10679932017-12-05 15:07:16 +0100471 deps += [
ehmaldonado1fd08c12017-01-17 02:37:34 -0800472 ":audioproc_f",
473 ":audioproc_unittest_proto",
Alessio Bazzicaca90a552017-09-27 11:51:10 +0200474 "aec_dump:aec_dump_unittests",
alessiob5f32aca2017-03-18 02:29:13 -0700475 "test/conversational_speech",
alessiob306d1bf2017-02-24 05:32:21 -0800476 "test/py_quality_assessment",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800477 ]
kjellander6ceab082016-10-28 05:44:03 -0700478 }
479 }
480
ehmaldonado36268652017-01-19 08:27:11 -0800481 rtc_source_set("audio_processing_unittests") {
482 testonly = true
kjellandere0629c02017-04-25 04:04:50 -0700483
Patrik Höglundd75c8dc2017-12-19 09:45:24 +0100484 configs += [ ":apm_debug_dump" ]
ehmaldonado36268652017-01-19 08:27:11 -0800485 sources = [
486 "aec/echo_cancellation_unittest.cc",
487 "aec/system_delay_unittest.cc",
488 "agc/agc_manager_direct_unittest.cc",
489 "agc/loudness_histogram_unittest.cc",
490 "agc/mock_agc.h",
491 "audio_buffer_unittest.cc",
Alex Loiko153f11e2018-02-16 12:39:00 +0100492 "audio_frame_view_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800493 "beamformer/array_util_unittest.cc",
494 "beamformer/complex_matrix_unittest.cc",
495 "beamformer/covariance_matrix_generator_unittest.cc",
Patrik Höglund62139292017-12-19 16:44:45 +0100496 "beamformer/matrix_test_helpers.h",
ehmaldonado36268652017-01-19 08:27:11 -0800497 "beamformer/matrix_unittest.cc",
498 "beamformer/mock_nonlinear_beamformer.h",
ehmaldonado36268652017-01-19 08:27:11 -0800499 "config_unittest.cc",
500 "echo_cancellation_impl_unittest.cc",
Alex Loiko153f11e2018-02-16 12:39:00 +0100501 "gain_controller2_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800502 "splitting_filter_unittest.cc",
Alessio Bazzicaca90a552017-09-27 11:51:10 +0200503 "test/fake_recording_device_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800504 "transient/dyadic_decimator_unittest.cc",
505 "transient/file_utils.cc",
506 "transient/file_utils.h",
507 "transient/file_utils_unittest.cc",
508 "transient/moving_moments_unittest.cc",
509 "transient/transient_detector_unittest.cc",
510 "transient/transient_suppressor_unittest.cc",
511 "transient/wpd_node_unittest.cc",
512 "transient/wpd_tree_unittest.cc",
513 "utility/block_mean_calculator_unittest.cc",
514 "utility/delay_estimator_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800515 ]
516
517 deps = [
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100518 ":aec_core",
Alessio Bazzicaca90a552017-09-27 11:51:10 +0200519 ":analog_mic_simulation",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100520 ":apm_logging",
Alex Loiko153f11e2018-02-16 12:39:00 +0100521 ":audio_frame_view",
ehmaldonado36268652017-01-19 08:27:11 -0800522 ":audio_processing",
ehmaldonado36268652017-01-19 08:27:11 -0800523 ":audioproc_test_utils",
Sam Zackrisson4d364492018-03-02 16:03:21 +0100524 ":file_audio_generator_unittests",
Patrik Höglund62139292017-12-19 16:44:45 +0100525 ":mocks",
mbonadei1140f972017-04-26 03:38:35 -0700526 "..:module_api",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100527 "../..:typedefs",
ehmaldonado36268652017-01-19 08:27:11 -0800528 "../..:webrtc_common",
kwiberg529662a2017-09-04 05:43:17 -0700529 "../../api:array_view",
kwiberg84f6a3f2017-09-05 08:43:13 -0700530 "../../api:optional",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100531 "../../api/audio:aec3_config",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +0100532 "../../api/audio:aec3_factory",
ehmaldonado36268652017-01-19 08:27:11 -0800533 "../../common_audio:common_audio",
Mirko Bonadeidbbb33c2018-02-05 15:50:41 +0100534 "../../common_audio:common_audio_c",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100535 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700536 "../../rtc_base:gtest_prod",
537 "../../rtc_base:protobuf_utils",
538 "../../rtc_base:rtc_base",
539 "../../rtc_base:rtc_base_approved",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100540 "../../system_wrappers",
541 "../../system_wrappers:cpu_features_api",
ehmaldonado36268652017-01-19 08:27:11 -0800542 "../../test:test_support",
Ivo Creusen385b10b2017-10-13 12:37:27 +0200543 "../audio_coding:neteq_input_audio_tools",
aleloi20e4a732017-06-08 08:12:46 -0700544 "aec_dump:mock_aec_dump_unittests",
Alex Loikoe36e8bb2018-02-16 11:54:07 +0100545 "agc2:fixed_digital_unittests",
alessiob4b6463c2017-03-23 05:17:06 -0700546 "test/conversational_speech:unittest",
Alex Loiko0488fcf2018-02-05 11:15:23 +0100547 "vad:vad_unittests",
ehmaldonado36268652017-01-19 08:27:11 -0800548 "//testing/gtest",
549 ]
550
551 defines = []
552
ehmaldonado36268652017-01-19 08:27:11 -0800553 if (rtc_enable_intelligibility_enhancer) {
554 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
555 sources += [
556 "intelligibility/intelligibility_enhancer_unittest.cc",
557 "intelligibility/intelligibility_utils_unittest.cc",
558 ]
559 } else {
560 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
561 }
562
563 if (rtc_prefer_fixed_point) {
564 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ]
565 } else {
566 defines += [ "WEBRTC_AUDIOPROC_FLOAT_PROFILE" ]
567 }
568
569 if (rtc_enable_protobuf) {
570 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ]
571 deps += [
ehmaldonadof49ff262017-01-23 04:26:02 -0800572 ":audioproc_debug_proto",
ehmaldonado36268652017-01-19 08:27:11 -0800573 ":audioproc_protobuf_utils",
Sam Zackrissond57f9dd2017-09-13 11:00:04 +0200574 ":audioproc_test_utils",
ehmaldonado36268652017-01-19 08:27:11 -0800575 ":audioproc_unittest_proto",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700576 "../../rtc_base:rtc_task_queue",
aleloif4dd1912017-06-15 01:55:38 -0700577 "aec_dump",
578 "aec_dump:aec_dump_unittests",
ehmaldonado36268652017-01-19 08:27:11 -0800579 ]
580 sources += [
ehmaldonado36268652017-01-19 08:27:11 -0800581 "audio_processing_impl_locking_unittest.cc",
582 "audio_processing_impl_unittest.cc",
583 "audio_processing_unittest.cc",
ehmaldonadof49ff262017-01-23 04:26:02 -0800584 "beamformer/nonlinear_beamformer_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800585 "echo_cancellation_bit_exact_unittest.cc",
586 "echo_control_mobile_unittest.cc",
587 "echo_detector/circular_buffer_unittest.cc",
588 "echo_detector/mean_variance_estimator_unittest.cc",
589 "echo_detector/moving_max_unittest.cc",
590 "echo_detector/normalized_covariance_estimator_unittest.cc",
591 "gain_control_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800592 "level_estimator_unittest.cc",
593 "low_cut_filter_unittest.cc",
594 "noise_suppression_unittest.cc",
595 "residual_echo_detector_unittest.cc",
596 "rms_level_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800597 "test/debug_dump_replayer.cc",
598 "test/debug_dump_replayer.h",
599 "test/debug_dump_test.cc",
peah69221db2017-01-27 03:28:19 -0800600 "test/echo_canceller_test_tools.cc",
601 "test/echo_canceller_test_tools.h",
602 "test/echo_canceller_test_tools_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800603 "test/test_utils.h",
604 "voice_detection_unittest.cc",
605 ]
606 }
607
608 if ((!build_with_chromium || is_win) && is_clang) {
609 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
610 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
611 }
612 }
613
ehmaldonado021eef32017-01-05 07:09:50 -0800614 rtc_source_set("audio_processing_perf_tests") {
ehmaldonado021eef32017-01-05 07:09:50 -0800615 testonly = true
kjellandere0629c02017-04-25 04:04:50 -0700616
ehmaldonado021eef32017-01-05 07:09:50 -0800617 sources = [
618 "audio_processing_performance_unittest.cc",
ehmaldonado021eef32017-01-05 07:09:50 -0800619 ]
620 deps = [
621 ":audio_processing",
622 ":audioproc_test_utils",
Ivo Creusen69d276d2017-11-24 15:35:57 +0100623 "../../api:array_view",
624 "../../modules:module_api",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700625 "../../rtc_base:protobuf_utils",
Ivo Creusen69d276d2017-11-24 15:35:57 +0100626 "../../rtc_base:rtc_base_approved",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100627 "../../system_wrappers",
Edward Lemure66572b2018-01-05 15:34:09 +0100628 "../../test:perf_test",
Ivo Creusen69d276d2017-11-24 15:35:57 +0100629 "../../test:test_support",
ehmaldonado021eef32017-01-05 07:09:50 -0800630 ]
mbonadei7c2c8432017-04-07 00:59:12 -0700631
ehmaldonado021eef32017-01-05 07:09:50 -0800632 if (rtc_enable_intelligibility_enhancer) {
633 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
634 } else {
635 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
636 }
637 }
638
Sam Zackrisson4d364492018-03-02 16:03:21 +0100639 rtc_source_set("file_audio_generator_unittests") {
640 testonly = true
641
642 sources = [
643 "audio_generator/file_audio_generator_unittest.cc",
644 ]
645
646 deps = [
647 ":audio_generator_factory",
648 ":audio_processing",
649 ":file_audio_generator",
650 "../../rtc_base:rtc_base_approved",
651 "../../test:test_support",
652 ]
653 }
654
Alessio Bazzicaca90a552017-09-27 11:51:10 +0200655 rtc_source_set("analog_mic_simulation") {
656 sources = [
657 "test/fake_recording_device.cc",
658 "test/fake_recording_device.h",
659 ]
660 deps = [
661 "../../api:array_view",
662 "../../common_audio:common_audio",
663 "../../modules:module_api",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100664 "../../rtc_base:checks",
Alessio Bazzicaca90a552017-09-27 11:51:10 +0200665 "../../rtc_base:rtc_base_approved",
666 ]
667 }
668
ehmaldonado1fd08c12017-01-17 02:37:34 -0800669 if (rtc_enable_protobuf) {
ehmaldonado1fd08c12017-01-17 02:37:34 -0800670 rtc_executable("audioproc_f") {
671 testonly = true
672 sources = [
673 "test/aec_dump_based_simulator.cc",
674 "test/aec_dump_based_simulator.h",
675 "test/audio_processing_simulator.cc",
676 "test/audio_processing_simulator.h",
677 "test/audioproc_float.cc",
678 "test/wav_based_simulator.cc",
679 "test/wav_based_simulator.h",
680 ]
peahc3ec1fd2016-08-07 23:19:30 -0700681
ehmaldonado1fd08c12017-01-17 02:37:34 -0800682 deps = [
Alessio Bazzicaca90a552017-09-27 11:51:10 +0200683 ":analog_mic_simulation",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800684 ":audio_processing",
685 ":audioproc_debug_proto",
686 ":audioproc_protobuf_utils",
687 ":audioproc_test_utils",
kwiberg84f6a3f2017-09-05 08:43:13 -0700688 "../../api:optional",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +0100689 "../../api/audio:aec3_factory",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800690 "../../common_audio:common_audio",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100691 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700692 "../../rtc_base:protobuf_utils",
693 "../../rtc_base:rtc_base_approved",
694 "../../rtc_base:rtc_task_queue",
Patrik Höglund3e113432017-12-15 14:40:10 +0100695 "../../rtc_base:stringutils",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800696 "../../system_wrappers",
697 "../../system_wrappers:system_wrappers_default",
698 "../../test:test_support",
aleloif4dd1912017-06-15 01:55:38 -0700699 "aec_dump",
700 "aec_dump:aec_dump_impl",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800701 "//testing/gtest",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800702 ]
703 } # audioproc_f
704 }
peahc3ec1fd2016-08-07 23:19:30 -0700705
ehmaldonado38a21322016-09-02 04:10:34 -0700706 rtc_source_set("audioproc_test_utils") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000707 visibility = [ "*" ]
kjellanderfb114242016-06-13 00:19:48 -0700708 testonly = true
709 sources = [
ehmaldonado529f83c2016-07-27 08:14:32 -0700710 "test/audio_buffer_tools.cc",
711 "test/audio_buffer_tools.h",
Sam Zackrissond57f9dd2017-09-13 11:00:04 +0200712 "test/bitexactness_tools.cc",
713 "test/bitexactness_tools.h",
ivoc3cfb3ef2016-11-24 04:17:28 -0800714 "test/performance_timer.cc",
715 "test/performance_timer.h",
716 "test/simulator_buffers.cc",
717 "test/simulator_buffers.h",
kjellanderfb114242016-06-13 00:19:48 -0700718 "test/test_utils.cc",
719 "test/test_utils.h",
720 ]
721
kjellanderfb114242016-06-13 00:19:48 -0700722 deps = [
ehmaldonado64c4a7e2016-12-08 04:10:01 -0800723 ":audio_processing",
mbonadei1140f972017-04-26 03:38:35 -0700724 "..:module_api",
kwiberg529662a2017-09-04 05:43:17 -0700725 "../../api:array_view",
kwiberg84f6a3f2017-09-05 08:43:13 -0700726 "../../api:optional",
kjellanderfb114242016-06-13 00:19:48 -0700727 "../../common_audio",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100728 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700729 "../../rtc_base:rtc_base_approved",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100730 "../../system_wrappers",
Sam Zackrissond57f9dd2017-09-13 11:00:04 +0200731 "../../test:test_support",
Ivo Creusen385b10b2017-10-13 12:37:27 +0200732 "../audio_coding:neteq_input_audio_tools",
Sam Zackrissond57f9dd2017-09-13 11:00:04 +0200733 "//testing/gtest",
kjellanderfb114242016-06-13 00:19:48 -0700734 ]
735 }
736
ehmaldonado38a21322016-09-02 04:10:34 -0700737 rtc_executable("transient_suppression_test") {
kwiberg7a770e02016-08-25 02:32:43 -0700738 testonly = true
739 sources = [
740 "transient/file_utils.cc",
741 "transient/file_utils.h",
742 "transient/transient_suppression_test.cc",
743 ]
744 deps = [
745 ":audio_processing",
mbonadei1140f972017-04-26 03:38:35 -0700746 "..:module_api",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100747 "../..:typedefs",
ehmaldonado64c4a7e2016-12-08 04:10:01 -0800748 "../..:webrtc_common",
749 "../../common_audio:common_audio",
oprypin6e09d872017-08-31 03:21:39 -0700750 "../../rtc_base:rtc_base_approved",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100751 "../../system_wrappers",
Patrik Höglunde6ffc422017-12-11 10:28:16 +0100752 "../../system_wrappers:metrics_default",
kwiberg7a770e02016-08-25 02:32:43 -0700753 "../../test:test_support",
754 "//testing/gtest",
kwiberg7a770e02016-08-25 02:32:43 -0700755 ]
kwiberg7a770e02016-08-25 02:32:43 -0700756 }
757
ehmaldonado38a21322016-09-02 04:10:34 -0700758 rtc_executable("click_annotate") {
kwiberg7a770e02016-08-25 02:32:43 -0700759 testonly = true
760 sources = [
761 "transient/click_annotate.cc",
762 "transient/file_utils.cc",
763 "transient/file_utils.h",
764 ]
765 deps = [
766 ":audio_processing",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100767 "../..:typedefs",
ehmaldonado64c4a7e2016-12-08 04:10:01 -0800768 "../..:webrtc_common",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100769 "../../system_wrappers",
kwiberg7a770e02016-08-25 02:32:43 -0700770 "../../system_wrappers:metrics_default",
771 ]
772 }
773
ehmaldonado38a21322016-09-02 04:10:34 -0700774 rtc_executable("nonlinear_beamformer_test") {
kwiberg7a770e02016-08-25 02:32:43 -0700775 testonly = true
776 sources = [
777 "beamformer/nonlinear_beamformer_test.cc",
778 ]
779 deps = [
780 ":audio_processing",
781 ":audioproc_test_utils",
ehmaldonado64c4a7e2016-12-08 04:10:01 -0800782 "../../common_audio:common_audio",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100783 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700784 "../../rtc_base:rtc_base_approved",
kwiberg7a770e02016-08-25 02:32:43 -0700785 "../../system_wrappers:metrics_default",
kwiberg7a770e02016-08-25 02:32:43 -0700786 ]
kwiberg7a770e02016-08-25 02:32:43 -0700787 }
788
peah1bcfce52016-08-26 07:16:04 -0700789 if (rtc_enable_intelligibility_enhancer) {
ehmaldonado38a21322016-09-02 04:10:34 -0700790 rtc_executable("intelligibility_proc") {
peah1bcfce52016-08-26 07:16:04 -0700791 testonly = true
792 sources = [
793 "intelligibility/test/intelligibility_proc.cc",
794 ]
795 deps = [
796 ":audio_processing",
797 ":audioproc_test_utils",
Alex Loiko0488fcf2018-02-05 11:15:23 +0100798 "../../common_audio",
oprypin6e09d872017-08-31 03:21:39 -0700799 "../../rtc_base:rtc_base_approved",
peah1bcfce52016-08-26 07:16:04 -0700800 "../../system_wrappers:metrics_default",
801 "../../test:test_support",
802 "//testing/gtest",
peah1bcfce52016-08-26 07:16:04 -0700803 ]
kwiberg7a770e02016-08-25 02:32:43 -0700804 }
805 }
806
kjellanderfb114242016-06-13 00:19:48 -0700807 if (rtc_enable_protobuf) {
808 proto_library("audioproc_unittest_proto") {
809 sources = [
810 "test/unittest.proto",
811 ]
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200812 proto_out_dir = "modules/audio_processing/test"
kjellanderfb114242016-06-13 00:19:48 -0700813 }
814
kjellanderb62dbbe2016-09-23 00:38:52 -0700815 rtc_static_library("audioproc_protobuf_utils") {
kjellanderfb114242016-06-13 00:19:48 -0700816 sources = [
817 "test/protobuf_utils.cc",
818 "test/protobuf_utils.h",
819 ]
820
821 deps = [
ehmaldonadobcba64a2016-08-19 02:11:07 -0700822 ":audioproc_debug_proto",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +0100823 "../..:typedefs",
ehmaldonado64c4a7e2016-12-08 04:10:01 -0800824 "../..:webrtc_common",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700825 "../../rtc_base:protobuf_utils",
826 "../../rtc_base:rtc_base_approved",
kjellanderfb114242016-06-13 00:19:48 -0700827 ]
828 }
829 }
830}