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

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

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: comments addressed 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 = [
525 ":audio_processing", 526 ":audio_processing",
526 ":audioproc_test_utils", 527 ":audioproc_test_utils",
528 ":fake_recording_device",
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",
535 "../audio_coding:neteq_unittest_tools", 537 "../audio_coding:neteq_unittest_tools",
536 "test/conversational_speech:unittest", 538 "test/conversational_speech:unittest",
(...skipping 126 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("fake_recording_device") {
676 sources = [
677 "test/fake_recording_device.cc",
678 "test/fake_recording_device.h",
679 ]
680 deps = [
681 "../../base:rtc_base_approved",
682 ]
683 }
684
AleBzk 2017/05/17 11:52:22 I spoke to Alex. Maybe it's too early to consider
peah-webrtc 2017/05/17 14:52:12 Good point! Then we need to do this. But then I'd
AleBzk 2017/05/23 13:56:41 Right, thanks. fake_recording_device -> analog_mic
673 if (rtc_enable_protobuf) { 685 if (rtc_enable_protobuf) {
674 rtc_executable("unpack_aecdump") { 686 rtc_executable("unpack_aecdump") {
675 testonly = true 687 testonly = true
676 sources = [ 688 sources = [
677 "test/unpack.cc", 689 "test/unpack.cc",
678 ] 690 ]
679 691
680 deps = [ 692 deps = [
681 ":audio_processing", 693 ":audio_processing",
682 ":audioproc_debug_proto", 694 ":audioproc_debug_proto",
(...skipping 18 matching lines...) Expand all
701 "test/audioproc_float.cc", 713 "test/audioproc_float.cc",
702 "test/wav_based_simulator.cc", 714 "test/wav_based_simulator.cc",
703 "test/wav_based_simulator.h", 715 "test/wav_based_simulator.h",
704 ] 716 ]
705 717
706 deps = [ 718 deps = [
707 ":audio_processing", 719 ":audio_processing",
708 ":audioproc_debug_proto", 720 ":audioproc_debug_proto",
709 ":audioproc_protobuf_utils", 721 ":audioproc_protobuf_utils",
710 ":audioproc_test_utils", 722 ":audioproc_test_utils",
723 ":fake_recording_device",
711 "../../base:protobuf_utils", 724 "../../base:protobuf_utils",
712 "../../base:rtc_base_approved", 725 "../../base:rtc_base_approved",
713 "../../common_audio:common_audio", 726 "../../common_audio:common_audio",
714 "../../system_wrappers", 727 "../../system_wrappers",
715 "../../system_wrappers:system_wrappers_default", 728 "../../system_wrappers:system_wrappers_default",
716 "../../test:test_support", 729 "../../test:test_support",
717 "//testing/gtest", 730 "//testing/gtest",
718 "//third_party/gflags:gflags", 731 "//third_party/gflags:gflags",
719 ] 732 ]
720 } # audioproc_f 733 } # audioproc_f
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 836
824 deps = [ 837 deps = [
825 ":audioproc_debug_proto", 838 ":audioproc_debug_proto",
826 "../..:webrtc_common", 839 "../..:webrtc_common",
827 "../../base:protobuf_utils", 840 "../../base:protobuf_utils",
828 "../../base:rtc_base_approved", 841 "../../base:rtc_base_approved",
829 ] 842 ]
830 } 843 }
831 } 844 }
832 } 845 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698