Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: FakeRecordingDevice: API simplified, UTs adapted Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 "agc/mock_agc.h", 493 "agc/mock_agc.h",
494 "audio_buffer_unittest.cc", 494 "audio_buffer_unittest.cc",
495 "beamformer/array_util_unittest.cc", 495 "beamformer/array_util_unittest.cc",
496 "beamformer/complex_matrix_unittest.cc", 496 "beamformer/complex_matrix_unittest.cc",
497 "beamformer/covariance_matrix_generator_unittest.cc", 497 "beamformer/covariance_matrix_generator_unittest.cc",
498 "beamformer/matrix_unittest.cc", 498 "beamformer/matrix_unittest.cc",
499 "beamformer/mock_nonlinear_beamformer.h", 499 "beamformer/mock_nonlinear_beamformer.h",
500 "config_unittest.cc", 500 "config_unittest.cc",
501 "echo_cancellation_impl_unittest.cc", 501 "echo_cancellation_impl_unittest.cc",
502 "splitting_filter_unittest.cc", 502 "splitting_filter_unittest.cc",
503 "test/fake_recording_device_unittest.cc",
503 "transient/dyadic_decimator_unittest.cc", 504 "transient/dyadic_decimator_unittest.cc",
504 "transient/file_utils.cc", 505 "transient/file_utils.cc",
505 "transient/file_utils.h", 506 "transient/file_utils.h",
506 "transient/file_utils_unittest.cc", 507 "transient/file_utils_unittest.cc",
507 "transient/moving_moments_unittest.cc", 508 "transient/moving_moments_unittest.cc",
508 "transient/transient_detector_unittest.cc", 509 "transient/transient_detector_unittest.cc",
509 "transient/transient_suppressor_unittest.cc", 510 "transient/transient_suppressor_unittest.cc",
510 "transient/wpd_node_unittest.cc", 511 "transient/wpd_node_unittest.cc",
511 "transient/wpd_tree_unittest.cc", 512 "transient/wpd_tree_unittest.cc",
512 "utility/block_mean_calculator_unittest.cc", 513 "utility/block_mean_calculator_unittest.cc",
513 "utility/delay_estimator_unittest.cc", 514 "utility/delay_estimator_unittest.cc",
514 "vad/gmm_unittest.cc", 515 "vad/gmm_unittest.cc",
515 "vad/pitch_based_vad_unittest.cc", 516 "vad/pitch_based_vad_unittest.cc",
516 "vad/pitch_internal_unittest.cc", 517 "vad/pitch_internal_unittest.cc",
517 "vad/pole_zero_filter_unittest.cc", 518 "vad/pole_zero_filter_unittest.cc",
518 "vad/standalone_vad_unittest.cc", 519 "vad/standalone_vad_unittest.cc",
519 "vad/vad_audio_proc_unittest.cc", 520 "vad/vad_audio_proc_unittest.cc",
520 "vad/vad_circular_buffer_unittest.cc", 521 "vad/vad_circular_buffer_unittest.cc",
521 "vad/voice_activity_detector_unittest.cc", 522 "vad/voice_activity_detector_unittest.cc",
522 ] 523 ]
523 524
524 deps = [ 525 deps = [
526 ":analog_mic_simulation",
525 ":audio_processing", 527 ":audio_processing",
526 ":audioproc_test_utils", 528 ":audioproc_test_utils",
527 "../..:webrtc_common", 529 "../..:webrtc_common",
528 "../../base:gtest_prod", 530 "../../base:gtest_prod",
529 "../../base:protobuf_utils", 531 "../../base:protobuf_utils",
530 "../../base:rtc_base", 532 "../../base:rtc_base",
531 "../../base:rtc_base_approved", 533 "../../base:rtc_base_approved",
532 "../../common_audio:common_audio", 534 "../../common_audio:common_audio",
533 "../../system_wrappers:system_wrappers", 535 "../../system_wrappers:system_wrappers",
534 "../../test:test_support", 536 "../../test:test_support",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 "//testing/gtest", 665 "//testing/gtest",
664 ] 666 ]
665 667
666 if (rtc_enable_intelligibility_enhancer) { 668 if (rtc_enable_intelligibility_enhancer) {
667 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 669 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
668 } else { 670 } else {
669 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] 671 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
670 } 672 }
671 } 673 }
672 674
675 rtc_source_set("analog_mic_simulation") {
676 sources = [
677 "test/fake_rec_device_identity.cc",
678 "test/fake_rec_device_identity.h",
679 "test/fake_rec_device_linear.cc",
680 "test/fake_rec_device_linear.h",
681 "test/fake_recording_device.cc",
682 "test/fake_recording_device.h",
683 ]
684 deps = [
685 "../../base:rtc_base_approved",
686 ]
687 }
688
673 if (rtc_enable_protobuf) { 689 if (rtc_enable_protobuf) {
674 rtc_executable("unpack_aecdump") { 690 rtc_executable("unpack_aecdump") {
675 testonly = true 691 testonly = true
676 sources = [ 692 sources = [
677 "test/unpack.cc", 693 "test/unpack.cc",
678 ] 694 ]
679 695
680 deps = [ 696 deps = [
681 ":audio_processing", 697 ":audio_processing",
682 ":audioproc_debug_proto", 698 ":audioproc_debug_proto",
(...skipping 14 matching lines...) Expand all
697 "test/aec_dump_based_simulator.cc", 713 "test/aec_dump_based_simulator.cc",
698 "test/aec_dump_based_simulator.h", 714 "test/aec_dump_based_simulator.h",
699 "test/audio_processing_simulator.cc", 715 "test/audio_processing_simulator.cc",
700 "test/audio_processing_simulator.h", 716 "test/audio_processing_simulator.h",
701 "test/audioproc_float.cc", 717 "test/audioproc_float.cc",
702 "test/wav_based_simulator.cc", 718 "test/wav_based_simulator.cc",
703 "test/wav_based_simulator.h", 719 "test/wav_based_simulator.h",
704 ] 720 ]
705 721
706 deps = [ 722 deps = [
723 ":analog_mic_simulation",
707 ":audio_processing", 724 ":audio_processing",
708 ":audioproc_debug_proto", 725 ":audioproc_debug_proto",
709 ":audioproc_protobuf_utils", 726 ":audioproc_protobuf_utils",
710 ":audioproc_test_utils", 727 ":audioproc_test_utils",
711 "../../base:protobuf_utils", 728 "../../base:protobuf_utils",
712 "../../base:rtc_base_approved", 729 "../../base:rtc_base_approved",
713 "../../common_audio:common_audio", 730 "../../common_audio:common_audio",
714 "../../system_wrappers", 731 "../../system_wrappers",
715 "../../system_wrappers:system_wrappers_default", 732 "../../system_wrappers:system_wrappers_default",
716 "../../test:test_support", 733 "../../test:test_support",
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 840
824 deps = [ 841 deps = [
825 ":audioproc_debug_proto", 842 ":audioproc_debug_proto",
826 "../..:webrtc_common", 843 "../..:webrtc_common",
827 "../../base:protobuf_utils", 844 "../../base:protobuf_utils",
828 "../../base:rtc_base_approved", 845 "../../base:rtc_base_approved",
829 ] 846 ]
830 } 847 }
831 } 848 }
832 } 849 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698