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", |
166 "../audio_coding:isac", | 167 "../audio_coding:isac", |
167 ] | 168 ] |
168 | 169 |
169 if (aec_debug_dump) { | 170 if (aec_debug_dump) { |
170 defines += [ "WEBRTC_AEC_DEBUG_DUMP=1" ] | 171 defines += [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
171 } else { | 172 } else { |
172 defines += [ "WEBRTC_AEC_DEBUG_DUMP=0" ] | 173 defines += [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
173 } | 174 } |
174 | 175 |
175 if (aec_untrusted_delay_for_testing) { | 176 if (aec_untrusted_delay_for_testing) { |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 424 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
424 configs -= [ "//build/config/clang:find_bad_constructs" ] | 425 configs -= [ "//build/config/clang:find_bad_constructs" ] |
425 } | 426 } |
426 | 427 |
427 deps = [ | 428 deps = [ |
428 "../../base:rtc_base_approved", | 429 "../../base:rtc_base_approved", |
429 "../../common_audio", | 430 "../../common_audio", |
430 ] | 431 ] |
431 } | 432 } |
432 | 433 |
| 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 |
433 if (rtc_enable_protobuf) { | 499 if (rtc_enable_protobuf) { |
434 proto_library("audioproc_unittest_proto") { | 500 proto_library("audioproc_unittest_proto") { |
435 sources = [ | 501 sources = [ |
436 "test/unittest.proto", | 502 "test/unittest.proto", |
437 ] | 503 ] |
438 proto_out_dir = "webrtc/modules/audio_processing" | 504 proto_out_dir = "webrtc/modules/audio_processing" |
439 } | 505 } |
440 | 506 |
441 source_set("audioproc_protobuf_utils") { | 507 source_set("audioproc_protobuf_utils") { |
442 sources = [ | 508 sources = [ |
443 "test/protobuf_utils.cc", | 509 "test/protobuf_utils.cc", |
444 "test/protobuf_utils.h", | 510 "test/protobuf_utils.h", |
445 ] | 511 ] |
446 | 512 |
447 deps = [ | 513 deps = [ |
448 ":audioproc_debug_proto", | 514 ":audioproc_debug_proto", |
449 ] | 515 ] |
450 } | 516 } |
451 } | 517 } |
452 } | 518 } |
OLD | NEW |