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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 sources = [ | 421 sources = [ |
422 "test/audio_buffer_tools.cc", | 422 "test/audio_buffer_tools.cc", |
423 "test/audio_buffer_tools.h", | 423 "test/audio_buffer_tools.h", |
424 "test/test_utils.cc", | 424 "test/test_utils.cc", |
425 "test/test_utils.h", | 425 "test/test_utils.h", |
426 ] | 426 ] |
427 | 427 |
428 configs += [ "../..:common_config" ] | 428 configs += [ "../..:common_config" ] |
429 public_configs = [ "../..:common_inherited_config" ] | 429 public_configs = [ "../..:common_inherited_config" ] |
430 | 430 |
431 if (is_clang) { | |
432 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | |
433 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
434 } | |
435 | |
436 deps = [ | 431 deps = [ |
437 "../../base:rtc_base_approved", | 432 "../../base:rtc_base_approved", |
438 "../../common_audio", | 433 "../../common_audio", |
439 ] | 434 ] |
440 } | 435 } |
441 | 436 |
442 executable("transient_suppression_test") { | 437 executable("transient_suppression_test") { |
443 testonly = true | 438 testonly = true |
444 sources = [ | 439 sources = [ |
445 "transient/file_utils.cc", | 440 "transient/file_utils.cc", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 "intelligibility/test/intelligibility_proc.cc", | 483 "intelligibility/test/intelligibility_proc.cc", |
489 ] | 484 ] |
490 deps = [ | 485 deps = [ |
491 ":audio_processing", | 486 ":audio_processing", |
492 ":audioproc_test_utils", | 487 ":audioproc_test_utils", |
493 "../../system_wrappers:metrics_default", | 488 "../../system_wrappers:metrics_default", |
494 "../../test:test_support", | 489 "../../test:test_support", |
495 "//testing/gtest", | 490 "//testing/gtest", |
496 "//third_party/gflags", | 491 "//third_party/gflags", |
497 ] | 492 ] |
498 if (is_clang) { | |
499 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163
). | |
500 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
501 } | |
502 } | 493 } |
503 } | 494 } |
504 | 495 |
505 if (rtc_enable_protobuf) { | 496 if (rtc_enable_protobuf) { |
506 proto_library("audioproc_unittest_proto") { | 497 proto_library("audioproc_unittest_proto") { |
507 sources = [ | 498 sources = [ |
508 "test/unittest.proto", | 499 "test/unittest.proto", |
509 ] | 500 ] |
510 proto_out_dir = "webrtc/modules/audio_processing" | 501 proto_out_dir = "webrtc/modules/audio_processing" |
511 } | 502 } |
512 | 503 |
513 source_set("audioproc_protobuf_utils") { | 504 source_set("audioproc_protobuf_utils") { |
514 sources = [ | 505 sources = [ |
515 "test/protobuf_utils.cc", | 506 "test/protobuf_utils.cc", |
516 "test/protobuf_utils.h", | 507 "test/protobuf_utils.h", |
517 ] | 508 ] |
518 | 509 |
519 deps = [ | 510 deps = [ |
520 ":audioproc_debug_proto", | 511 ":audioproc_debug_proto", |
521 ] | 512 ] |
522 } | 513 } |
523 } | 514 } |
524 } | 515 } |
OLD | NEW |