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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 ":audio_processing_c", | 387 ":audio_processing_c", |
388 "../../base:rtc_base_approved", | 388 "../../base:rtc_base_approved", |
389 ] | 389 ] |
390 } | 390 } |
391 } | 391 } |
392 | 392 |
393 if (rtc_include_tests) { | 393 if (rtc_include_tests) { |
394 group("audio_processing_tests") { | 394 group("audio_processing_tests") { |
395 testonly = true | 395 testonly = true |
396 public_deps = [ | 396 public_deps = [ |
397 ":audioproc_f", | |
398 ":audioproc_test_utils", | 397 ":audioproc_test_utils", |
399 ":click_annotate", | 398 ":click_annotate", |
400 ":nonlinear_beamformer_test", | 399 ":nonlinear_beamformer_test", |
401 ":transient_suppression_test", | 400 ":transient_suppression_test", |
402 ":unpack_aecdump", | |
403 ] | 401 ] |
404 | 402 |
405 if (rtc_enable_intelligibility_enhancer) { | 403 if (rtc_enable_intelligibility_enhancer) { |
406 public_deps += [ ":intelligibility_proc" ] | 404 public_deps += [ ":intelligibility_proc" ] |
407 } | 405 } |
408 | 406 |
409 if (rtc_enable_protobuf) { | 407 if (rtc_enable_protobuf) { |
410 public_deps += [ ":audioproc_unittest_proto" ] | 408 public_deps += [ |
| 409 ":audioproc_f", |
| 410 ":audioproc_unittest_proto", |
| 411 ":unpack_aecdump", |
| 412 ] |
411 } | 413 } |
412 } | 414 } |
413 | 415 |
414 rtc_source_set("audio_processing_perf_tests") { | 416 rtc_source_set("audio_processing_perf_tests") { |
415 # Has problems with autogenerated targets on Android and iOS | 417 # Has problems with autogenerated targets on Android and iOS |
416 # Dependency chain (there may also be others): | 418 # Dependency chain (there may also be others): |
417 # //webrtc/modules/audio_processing:audio_processing_perf_tests --> | 419 # //webrtc/modules/audio_processing:audio_processing_perf_tests --> |
418 # //webrtc/modules:modules_unittests --[private]--> | 420 # //webrtc/modules:modules_unittests --[private]--> |
419 # //webrtc/modules:modules_unittests_apk --> | 421 # //webrtc/modules:modules_unittests_apk --> |
420 # //webrtc/modules:modules_unittests_apk__create --> | 422 # //webrtc/modules:modules_unittests_apk__create --> |
(...skipping 12 matching lines...) Expand all Loading... |
433 ":audioproc_test_utils", | 435 ":audioproc_test_utils", |
434 "//testing/gtest", | 436 "//testing/gtest", |
435 ] | 437 ] |
436 if (rtc_enable_intelligibility_enhancer) { | 438 if (rtc_enable_intelligibility_enhancer) { |
437 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] | 439 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
438 } else { | 440 } else { |
439 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] | 441 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
440 } | 442 } |
441 } | 443 } |
442 | 444 |
443 rtc_executable("unpack_aecdump") { | 445 if (rtc_enable_protobuf) { |
444 testonly = true | 446 rtc_executable("unpack_aecdump") { |
445 sources = [ | 447 testonly = true |
446 "test/unpack.cc", | 448 sources = [ |
447 ] | 449 "test/unpack.cc", |
| 450 ] |
448 | 451 |
449 deps = [ | 452 deps = [ |
450 ":audio_processing", | 453 ":audio_processing", |
451 ":audioproc_debug_proto", | 454 ":audioproc_debug_proto", |
452 ":audioproc_protobuf_utils", | 455 ":audioproc_protobuf_utils", |
453 ":audioproc_test_utils", | 456 ":audioproc_test_utils", |
454 "../..:webrtc_common", | 457 "../..:webrtc_common", |
455 "../../base:rtc_base_approved", | 458 "../../base:rtc_base_approved", |
456 "../../common_audio", | 459 "../../common_audio", |
457 "../../system_wrappers:system_wrappers_default", | 460 "../../system_wrappers:system_wrappers_default", |
458 "//third_party/gflags:gflags", | 461 "//third_party/gflags:gflags", |
459 ] | 462 ] |
460 } # unpack_aecdump | 463 } # unpack_aecdump |
461 | 464 |
462 rtc_executable("audioproc_f") { | 465 rtc_executable("audioproc_f") { |
463 testonly = true | 466 testonly = true |
464 sources = [ | 467 sources = [ |
465 "test/aec_dump_based_simulator.cc", | 468 "test/aec_dump_based_simulator.cc", |
466 "test/aec_dump_based_simulator.h", | 469 "test/aec_dump_based_simulator.h", |
467 "test/audio_processing_simulator.cc", | 470 "test/audio_processing_simulator.cc", |
468 "test/audio_processing_simulator.h", | 471 "test/audio_processing_simulator.h", |
469 "test/audioproc_float.cc", | 472 "test/audioproc_float.cc", |
470 "test/wav_based_simulator.cc", | 473 "test/wav_based_simulator.cc", |
471 "test/wav_based_simulator.h", | 474 "test/wav_based_simulator.h", |
472 ] | 475 ] |
473 | 476 |
474 deps = [ | 477 deps = [ |
475 ":audio_processing", | 478 ":audio_processing", |
476 ":audioproc_debug_proto", | 479 ":audioproc_debug_proto", |
477 ":audioproc_protobuf_utils", | 480 ":audioproc_protobuf_utils", |
478 ":audioproc_test_utils", | 481 ":audioproc_test_utils", |
479 "../../base:rtc_base_approved", | 482 "../../base:rtc_base_approved", |
480 "../../common_audio:common_audio", | 483 "../../common_audio:common_audio", |
481 "../../system_wrappers", | 484 "../../system_wrappers", |
482 "../../system_wrappers:system_wrappers_default", | 485 "../../system_wrappers:system_wrappers_default", |
483 "../../test:test_support", | 486 "../../test:test_support", |
484 "//testing/gtest", | 487 "//testing/gtest", |
485 "//third_party/gflags:gflags", | 488 "//third_party/gflags:gflags", |
486 ] | 489 ] |
487 } # audioproc_f | 490 } # audioproc_f |
| 491 } |
488 | 492 |
489 rtc_source_set("audioproc_test_utils") { | 493 rtc_source_set("audioproc_test_utils") { |
490 testonly = true | 494 testonly = true |
491 sources = [ | 495 sources = [ |
492 "test/audio_buffer_tools.cc", | 496 "test/audio_buffer_tools.cc", |
493 "test/audio_buffer_tools.h", | 497 "test/audio_buffer_tools.h", |
494 "test/performance_timer.cc", | 498 "test/performance_timer.cc", |
495 "test/performance_timer.h", | 499 "test/performance_timer.h", |
496 "test/simulator_buffers.cc", | 500 "test/simulator_buffers.cc", |
497 "test/simulator_buffers.h", | 501 "test/simulator_buffers.h", |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 ] | 592 ] |
589 | 593 |
590 deps = [ | 594 deps = [ |
591 ":audioproc_debug_proto", | 595 ":audioproc_debug_proto", |
592 "../..:webrtc_common", | 596 "../..:webrtc_common", |
593 "../../base:rtc_base_approved", | 597 "../../base:rtc_base_approved", |
594 ] | 598 ] |
595 } | 599 } |
596 } | 600 } |
597 } | 601 } |
OLD | NEW |