Chromium Code Reviews| 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 "../../base:gtest_prod", | 556 "../../base:gtest_prod", |
| 554 "../../base:protobuf_utils", | 557 "../../base:protobuf_utils", |
| 555 "../../base:rtc_base", | 558 "../../base:rtc_base", |
| 556 "../../base:rtc_base_approved", | 559 "../../base:rtc_base_approved", |
| 557 "../../common_audio:common_audio", | 560 "../../common_audio:common_audio", |
| 558 "../../system_wrappers:system_wrappers", | 561 "../../system_wrappers:system_wrappers", |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 589 } | 592 } |
| 590 | 593 |
| 591 if (rtc_enable_protobuf) { | 594 if (rtc_enable_protobuf) { |
| 592 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] | 595 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] |
| 593 deps += [ | 596 deps += [ |
| 594 ":audioproc_debug_proto", | 597 ":audioproc_debug_proto", |
| 595 ":audioproc_protobuf_utils", | 598 ":audioproc_protobuf_utils", |
| 596 ":audioproc_unittest_proto", | 599 ":audioproc_unittest_proto", |
| 597 "../../base:rtc_task_queue", | 600 "../../base:rtc_task_queue", |
| 598 "aec_dump", | 601 "aec_dump", |
| 599 "aec_dump:aec_dump_unittests", | 602 "aec_dump:aec_dump_unittests", |
|
AleBzk
2017/06/29 11:43:36
Unrelated (merge)
| |
| 600 ] | 603 ] |
| 601 sources += [ | 604 sources += [ |
| 602 "aec3/adaptive_fir_filter_unittest.cc", | 605 "aec3/adaptive_fir_filter_unittest.cc", |
| 603 "aec3/aec3_fft_unittest.cc", | 606 "aec3/aec3_fft_unittest.cc", |
| 604 "aec3/aec_state_unittest.cc", | 607 "aec3/aec_state_unittest.cc", |
| 605 "aec3/block_framer_unittest.cc", | 608 "aec3/block_framer_unittest.cc", |
| 606 "aec3/block_processor_metrics_unittest.cc", | 609 "aec3/block_processor_metrics_unittest.cc", |
| 607 "aec3/block_processor_unittest.cc", | 610 "aec3/block_processor_unittest.cc", |
| 608 "aec3/cascaded_biquad_filter_unittest.cc", | 611 "aec3/cascaded_biquad_filter_unittest.cc", |
| 609 "aec3/comfort_noise_generator_unittest.cc", | 612 "aec3/comfort_noise_generator_unittest.cc", |
| (...skipping 90 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 "../../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 "../../base:protobuf_utils", | 762 "../../base:protobuf_utils", |
| 749 "../../base:rtc_base_approved", | 763 "../../base:rtc_base_approved", |
| 750 "../../base:rtc_task_queue", | 764 "../../base:rtc_task_queue", |
|
AleBzk
2017/06/29 11:43:36
Unrelated (merge)
| |
| 751 "../../common_audio:common_audio", | 765 "../../common_audio:common_audio", |
| 752 "../../system_wrappers", | 766 "../../system_wrappers", |
| 753 "../../system_wrappers:system_wrappers_default", | 767 "../../system_wrappers:system_wrappers_default", |
| 754 "../../test:test_support", | 768 "../../test:test_support", |
| 755 "aec_dump", | 769 "aec_dump", |
| 756 "aec_dump:aec_dump_impl", | 770 "aec_dump:aec_dump_impl", |
|
AleBzk
2017/06/29 11:43:36
Unrelated (merge)
| |
| 757 "//testing/gtest", | 771 "//testing/gtest", |
| 758 "//third_party/gflags:gflags", | 772 "//third_party/gflags:gflags", |
| 759 ] | 773 ] |
| 760 } # audioproc_f | 774 } # audioproc_f |
| 761 } | 775 } |
| 762 | 776 |
| 763 rtc_source_set("audioproc_test_utils") { | 777 rtc_source_set("audioproc_test_utils") { |
| 764 testonly = true | 778 testonly = true |
| 765 sources = [ | 779 sources = [ |
| 766 "test/audio_buffer_tools.cc", | 780 "test/audio_buffer_tools.cc", |
| (...skipping 98 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 "../../base:protobuf_utils", | 883 "../../base:protobuf_utils", |
| 870 "../../base:rtc_base_approved", | 884 "../../base:rtc_base_approved", |
| 871 ] | 885 ] |
| 872 } | 886 } |
| 873 } | 887 } |
| 874 } | 888 } |
| OLD | NEW |