OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 "voice_detection_impl.cc", | 156 "voice_detection_impl.cc", |
157 "voice_detection_impl.h", | 157 "voice_detection_impl.h", |
158 ] | 158 ] |
159 | 159 |
160 configs += [ "../..:common_config" ] | 160 configs += [ "../..:common_config" ] |
161 public_configs = [ "../..:common_inherited_config" ] | 161 public_configs = [ "../..:common_inherited_config" ] |
162 | 162 |
163 defines = [] | 163 defines = [] |
164 deps = [ | 164 deps = [ |
165 "../..:webrtc_common", | 165 "../..:webrtc_common", |
166 "../../system_wrappers:metrics_default", | |
167 "../audio_coding:isac", | 166 "../audio_coding:isac", |
168 ] | 167 ] |
169 | 168 |
170 if (aec_debug_dump) { | 169 if (aec_debug_dump) { |
171 defines += [ "WEBRTC_AEC_DEBUG_DUMP=1" ] | 170 defines += [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
172 } else { | 171 } else { |
173 defines += [ "WEBRTC_AEC_DEBUG_DUMP=0" ] | 172 defines += [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
174 } | 173 } |
175 | 174 |
176 if (aec_untrusted_delay_for_testing) { | 175 if (aec_untrusted_delay_for_testing) { |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 423 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
425 configs -= [ "//build/config/clang:find_bad_constructs" ] | 424 configs -= [ "//build/config/clang:find_bad_constructs" ] |
426 } | 425 } |
427 | 426 |
428 deps = [ | 427 deps = [ |
429 "../../base:rtc_base_approved", | 428 "../../base:rtc_base_approved", |
430 "../../common_audio", | 429 "../../common_audio", |
431 ] | 430 ] |
432 } | 431 } |
433 | 432 |
434 executable("transient_suppression_test") { | |
435 testonly = true | |
436 sources = [ | |
437 "transient/file_utils.cc", | |
438 "transient/file_utils.h", | |
439 "transient/transient_suppression_test.cc", | |
440 ] | |
441 deps = [ | |
442 ":audio_processing", | |
443 "../../test:test_support", | |
444 "//testing/gtest", | |
445 "//third_party/gflags", | |
446 ] | |
447 if (is_clang) { | |
448 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | |
449 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
450 } | |
451 } | |
452 | |
453 executable("click_annotate") { | |
454 testonly = true | |
455 sources = [ | |
456 "transient/click_annotate.cc", | |
457 "transient/file_utils.cc", | |
458 "transient/file_utils.h", | |
459 ] | |
460 deps = [ | |
461 ":audio_processing", | |
462 ] | |
463 } | |
464 | |
465 executable("nonlinear_beamformer_test") { | |
466 testonly = true | |
467 sources = [ | |
468 "beamformer/nonlinear_beamformer_test.cc", | |
469 ] | |
470 deps = [ | |
471 ":audio_processing", | |
472 ":audioproc_test_utils", | |
473 "//third_party/gflags", | |
474 ] | |
475 if (is_clang) { | |
476 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | |
477 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
478 } | |
479 } | |
480 | |
481 executable("intelligibility_proc") { | |
482 testonly = true | |
483 sources = [ | |
484 "intelligibility/test/intelligibility_proc.cc", | |
485 ] | |
486 deps = [ | |
487 ":audio_processing", | |
488 ":audioproc_test_utils", | |
489 "../../test:test_support", | |
490 "//testing/gtest", | |
491 "//third_party/gflags", | |
492 ] | |
493 if (is_clang) { | |
494 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | |
495 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
496 } | |
497 } | |
498 | |
499 if (rtc_enable_protobuf) { | 433 if (rtc_enable_protobuf) { |
500 proto_library("audioproc_unittest_proto") { | 434 proto_library("audioproc_unittest_proto") { |
501 sources = [ | 435 sources = [ |
502 "test/unittest.proto", | 436 "test/unittest.proto", |
503 ] | 437 ] |
504 proto_out_dir = "webrtc/modules/audio_processing" | 438 proto_out_dir = "webrtc/modules/audio_processing" |
505 } | 439 } |
506 | 440 |
507 source_set("audioproc_protobuf_utils") { | 441 source_set("audioproc_protobuf_utils") { |
508 sources = [ | 442 sources = [ |
509 "test/protobuf_utils.cc", | 443 "test/protobuf_utils.cc", |
510 "test/protobuf_utils.h", | 444 "test/protobuf_utils.h", |
511 ] | 445 ] |
512 | 446 |
513 deps = [ | 447 deps = [ |
514 ":audioproc_debug_proto", | 448 ":audioproc_debug_proto", |
515 ] | 449 ] |
516 } | 450 } |
517 } | 451 } |
518 } | 452 } |
OLD | NEW |