| 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 | 487 |
| 488 if (rtc_enable_intelligibility_enhancer) { | 488 if (rtc_enable_intelligibility_enhancer) { |
| 489 public_deps += [ ":intelligibility_proc" ] | 489 public_deps += [ ":intelligibility_proc" ] |
| 490 } | 490 } |
| 491 | 491 |
| 492 if (rtc_enable_protobuf) { | 492 if (rtc_enable_protobuf) { |
| 493 public_deps += [ | 493 public_deps += [ |
| 494 ":audioproc_f", | 494 ":audioproc_f", |
| 495 ":audioproc_unittest_proto", | 495 ":audioproc_unittest_proto", |
| 496 ":unpack_aecdump", | 496 ":unpack_aecdump", |
| 497 "aec_dump:aec_dump_unittests", |
| 497 "test/conversational_speech", | 498 "test/conversational_speech", |
| 498 "test/py_quality_assessment", | 499 "test/py_quality_assessment", |
| 499 ] | 500 ] |
| 500 } | 501 } |
| 501 } | 502 } |
| 502 | 503 |
| 503 rtc_source_set("audio_processing_unittests") { | 504 rtc_source_set("audio_processing_unittests") { |
| 504 testonly = true | 505 testonly = true |
| 505 | 506 |
| 506 # Skip restricting visibility on mobile platforms since the tests on those | 507 # Skip restricting visibility on mobile platforms since the tests on those |
| (...skipping 10 matching lines...) Expand all Loading... |
| 517 "agc/mock_agc.h", | 518 "agc/mock_agc.h", |
| 518 "audio_buffer_unittest.cc", | 519 "audio_buffer_unittest.cc", |
| 519 "beamformer/array_util_unittest.cc", | 520 "beamformer/array_util_unittest.cc", |
| 520 "beamformer/complex_matrix_unittest.cc", | 521 "beamformer/complex_matrix_unittest.cc", |
| 521 "beamformer/covariance_matrix_generator_unittest.cc", | 522 "beamformer/covariance_matrix_generator_unittest.cc", |
| 522 "beamformer/matrix_unittest.cc", | 523 "beamformer/matrix_unittest.cc", |
| 523 "beamformer/mock_nonlinear_beamformer.h", | 524 "beamformer/mock_nonlinear_beamformer.h", |
| 524 "config_unittest.cc", | 525 "config_unittest.cc", |
| 525 "echo_cancellation_impl_unittest.cc", | 526 "echo_cancellation_impl_unittest.cc", |
| 526 "splitting_filter_unittest.cc", | 527 "splitting_filter_unittest.cc", |
| 528 "test/fake_recording_device_unittest.cc", |
| 527 "transient/dyadic_decimator_unittest.cc", | 529 "transient/dyadic_decimator_unittest.cc", |
| 528 "transient/file_utils.cc", | 530 "transient/file_utils.cc", |
| 529 "transient/file_utils.h", | 531 "transient/file_utils.h", |
| 530 "transient/file_utils_unittest.cc", | 532 "transient/file_utils_unittest.cc", |
| 531 "transient/moving_moments_unittest.cc", | 533 "transient/moving_moments_unittest.cc", |
| 532 "transient/transient_detector_unittest.cc", | 534 "transient/transient_detector_unittest.cc", |
| 533 "transient/transient_suppressor_unittest.cc", | 535 "transient/transient_suppressor_unittest.cc", |
| 534 "transient/wpd_node_unittest.cc", | 536 "transient/wpd_node_unittest.cc", |
| 535 "transient/wpd_tree_unittest.cc", | 537 "transient/wpd_tree_unittest.cc", |
| 536 "utility/block_mean_calculator_unittest.cc", | 538 "utility/block_mean_calculator_unittest.cc", |
| 537 "utility/delay_estimator_unittest.cc", | 539 "utility/delay_estimator_unittest.cc", |
| 538 "vad/gmm_unittest.cc", | 540 "vad/gmm_unittest.cc", |
| 539 "vad/pitch_based_vad_unittest.cc", | 541 "vad/pitch_based_vad_unittest.cc", |
| 540 "vad/pitch_internal_unittest.cc", | 542 "vad/pitch_internal_unittest.cc", |
| 541 "vad/pole_zero_filter_unittest.cc", | 543 "vad/pole_zero_filter_unittest.cc", |
| 542 "vad/standalone_vad_unittest.cc", | 544 "vad/standalone_vad_unittest.cc", |
| 543 "vad/vad_audio_proc_unittest.cc", | 545 "vad/vad_audio_proc_unittest.cc", |
| 544 "vad/vad_circular_buffer_unittest.cc", | 546 "vad/vad_circular_buffer_unittest.cc", |
| 545 "vad/voice_activity_detector_unittest.cc", | 547 "vad/voice_activity_detector_unittest.cc", |
| 546 ] | 548 ] |
| 547 | 549 |
| 548 deps = [ | 550 deps = [ |
| 551 ":analog_mic_simulation", |
| 549 ":audio_processing", | 552 ":audio_processing", |
| 550 ":audioproc_test_utils", | 553 ":audioproc_test_utils", |
| 551 "..:module_api", | 554 "..:module_api", |
| 552 "../..:webrtc_common", | 555 "../..:webrtc_common", |
| 553 "../../common_audio:common_audio", | 556 "../../common_audio:common_audio", |
| 554 "../../rtc_base:gtest_prod", | 557 "../../rtc_base:gtest_prod", |
| 555 "../../rtc_base:protobuf_utils", | 558 "../../rtc_base:protobuf_utils", |
| 556 "../../rtc_base:rtc_base", | 559 "../../rtc_base:rtc_base", |
| 557 "../../rtc_base:rtc_base_approved", | 560 "../../rtc_base:rtc_base_approved", |
| 558 "../../system_wrappers:system_wrappers", | 561 "../../system_wrappers:system_wrappers", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 "//testing/gtest", | 703 "//testing/gtest", |
| 701 ] | 704 ] |
| 702 | 705 |
| 703 if (rtc_enable_intelligibility_enhancer) { | 706 if (rtc_enable_intelligibility_enhancer) { |
| 704 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] | 707 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
| 705 } else { | 708 } else { |
| 706 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] | 709 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
| 707 } | 710 } |
| 708 } | 711 } |
| 709 | 712 |
| 713 rtc_source_set("analog_mic_simulation") { |
| 714 sources = [ |
| 715 "test/fake_recording_device.cc", |
| 716 "test/fake_recording_device.h", |
| 717 ] |
| 718 deps = [ |
| 719 "../../rtc_base:rtc_base_approved", |
| 720 ] |
| 721 } |
| 722 |
| 710 if (rtc_enable_protobuf) { | 723 if (rtc_enable_protobuf) { |
| 711 rtc_executable("unpack_aecdump") { | 724 rtc_executable("unpack_aecdump") { |
| 712 testonly = true | 725 testonly = true |
| 713 sources = [ | 726 sources = [ |
| 714 "test/unpack.cc", | 727 "test/unpack.cc", |
| 715 ] | 728 ] |
| 716 | 729 |
| 717 deps = [ | 730 deps = [ |
| 718 ":audio_processing", | 731 ":audio_processing", |
| 719 ":audioproc_debug_proto", | 732 ":audioproc_debug_proto", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 734 "test/aec_dump_based_simulator.cc", | 747 "test/aec_dump_based_simulator.cc", |
| 735 "test/aec_dump_based_simulator.h", | 748 "test/aec_dump_based_simulator.h", |
| 736 "test/audio_processing_simulator.cc", | 749 "test/audio_processing_simulator.cc", |
| 737 "test/audio_processing_simulator.h", | 750 "test/audio_processing_simulator.h", |
| 738 "test/audioproc_float.cc", | 751 "test/audioproc_float.cc", |
| 739 "test/wav_based_simulator.cc", | 752 "test/wav_based_simulator.cc", |
| 740 "test/wav_based_simulator.h", | 753 "test/wav_based_simulator.h", |
| 741 ] | 754 ] |
| 742 | 755 |
| 743 deps = [ | 756 deps = [ |
| 757 ":analog_mic_simulation", |
| 744 ":audio_processing", | 758 ":audio_processing", |
| 745 ":audioproc_debug_proto", | 759 ":audioproc_debug_proto", |
| 746 ":audioproc_protobuf_utils", | 760 ":audioproc_protobuf_utils", |
| 747 ":audioproc_test_utils", | 761 ":audioproc_test_utils", |
| 748 "../../common_audio:common_audio", | 762 "../../common_audio:common_audio", |
| 749 "../../rtc_base:protobuf_utils", | 763 "../../rtc_base:protobuf_utils", |
| 750 "../../rtc_base:rtc_base_approved", | 764 "../../rtc_base:rtc_base_approved", |
| 751 "../../rtc_base:rtc_task_queue", | 765 "../../rtc_base:rtc_task_queue", |
| 752 "../../system_wrappers", | 766 "../../system_wrappers", |
| 753 "../../system_wrappers:system_wrappers_default", | 767 "../../system_wrappers:system_wrappers_default", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 | 879 |
| 866 deps = [ | 880 deps = [ |
| 867 ":audioproc_debug_proto", | 881 ":audioproc_debug_proto", |
| 868 "../..:webrtc_common", | 882 "../..:webrtc_common", |
| 869 "../../rtc_base:protobuf_utils", | 883 "../../rtc_base:protobuf_utils", |
| 870 "../../rtc_base:rtc_base_approved", | 884 "../../rtc_base:rtc_base_approved", |
| 871 ] | 885 ] |
| 872 } | 886 } |
| 873 } | 887 } |
| 874 } | 888 } |
| OLD | NEW |