| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 "voice_detection_impl.cc", | 226 "voice_detection_impl.cc", |
| 227 "voice_detection_impl.h", | 227 "voice_detection_impl.h", |
| 228 ] | 228 ] |
| 229 | 229 |
| 230 defines = [] | 230 defines = [] |
| 231 deps = [ | 231 deps = [ |
| 232 "../..:webrtc_common", | 232 "../..:webrtc_common", |
| 233 "../../audio/utility:audio_frame_operations", | 233 "../../audio/utility:audio_frame_operations", |
| 234 "../../base:gtest_prod", | 234 "../../base:gtest_prod", |
| 235 "../audio_coding:isac", | 235 "../audio_coding:isac", |
| 236 "aec_dumper", |
| 236 ] | 237 ] |
| 238 if (rtc_enable_protobuf) { |
| 239 deps += [ "aec_dumper:aec_dumper_impl" ] |
| 240 } else { |
| 241 deps += [ "aec_dumper:aec_dumper_no_pb" ] |
| 242 } |
| 237 public_deps = [ | 243 public_deps = [ |
| 238 ":audio_processing_c", | 244 ":audio_processing_c", |
| 239 ] | 245 ] |
| 240 | 246 |
| 241 if (apm_debug_dump) { | 247 if (apm_debug_dump) { |
| 242 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] | 248 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] |
| 243 } else { | 249 } else { |
| 244 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] | 250 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] |
| 245 } | 251 } |
| 246 | 252 |
| 247 if (aec_untrusted_delay_for_testing) { | 253 if (aec_untrusted_delay_for_testing) { |
| 248 defines += [ "WEBRTC_UNTRUSTED_DELAY" ] | 254 defines += [ "WEBRTC_UNTRUSTED_DELAY" ] |
| 249 } | 255 } |
| 250 | 256 |
| 251 if (rtc_enable_protobuf) { | |
| 252 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] | |
| 253 deps += [ ":audioproc_debug_proto" ] | |
| 254 } | |
| 255 | |
| 256 if (rtc_enable_intelligibility_enhancer) { | 257 if (rtc_enable_intelligibility_enhancer) { |
| 257 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] | 258 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
| 258 sources += [ | 259 sources += [ |
| 259 "intelligibility/intelligibility_enhancer.cc", | 260 "intelligibility/intelligibility_enhancer.cc", |
| 260 "intelligibility/intelligibility_enhancer.h", | 261 "intelligibility/intelligibility_enhancer.h", |
| 261 "intelligibility/intelligibility_utils.cc", | 262 "intelligibility/intelligibility_utils.cc", |
| 262 "intelligibility/intelligibility_utils.h", | 263 "intelligibility/intelligibility_utils.h", |
| 263 ] | 264 ] |
| 264 } else { | 265 } else { |
| 265 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] | 266 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 "vad/voice_activity_detector_unittest.cc", | 520 "vad/voice_activity_detector_unittest.cc", |
| 520 ] | 521 ] |
| 521 | 522 |
| 522 deps = [ | 523 deps = [ |
| 523 ":audio_processing", | 524 ":audio_processing", |
| 524 ":audioproc_test_utils", | 525 ":audioproc_test_utils", |
| 525 "../..:webrtc_common", | 526 "../..:webrtc_common", |
| 526 "../../base:gtest_prod", | 527 "../../base:gtest_prod", |
| 527 "../../base:rtc_base", | 528 "../../base:rtc_base", |
| 528 "../../base:rtc_base_approved", | 529 "../../base:rtc_base_approved", |
| 530 "../../base:rtc_task_queue", |
| 529 "../../common_audio:common_audio", | 531 "../../common_audio:common_audio", |
| 530 "../../system_wrappers:system_wrappers", | 532 "../../system_wrappers:system_wrappers", |
| 531 "../../test:test_support", | 533 "../../test:test_support", |
| 532 "../audio_coding:neteq_unittest_tools", | 534 "../audio_coding:neteq_unittest_tools", |
| 533 "test/conversational_speech:unittest", | 535 "test/conversational_speech:unittest", |
| 534 "//testing/gmock", | 536 "//testing/gmock", |
| 535 "//testing/gtest", | 537 "//testing/gtest", |
| 536 ] | 538 ] |
| 537 | 539 |
| 538 defines = [] | 540 defines = [] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 558 } else { | 560 } else { |
| 559 defines += [ "WEBRTC_AUDIOPROC_FLOAT_PROFILE" ] | 561 defines += [ "WEBRTC_AUDIOPROC_FLOAT_PROFILE" ] |
| 560 } | 562 } |
| 561 | 563 |
| 562 if (rtc_enable_protobuf) { | 564 if (rtc_enable_protobuf) { |
| 563 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] | 565 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] |
| 564 deps += [ | 566 deps += [ |
| 565 ":audioproc_debug_proto", | 567 ":audioproc_debug_proto", |
| 566 ":audioproc_protobuf_utils", | 568 ":audioproc_protobuf_utils", |
| 567 ":audioproc_unittest_proto", | 569 ":audioproc_unittest_proto", |
| 570 "aec_dumper:aec_dumper_unittests", |
| 568 ] | 571 ] |
| 569 sources += [ | 572 sources += [ |
| 570 "aec3/adaptive_fir_filter_unittest.cc", | 573 "aec3/adaptive_fir_filter_unittest.cc", |
| 571 "aec3/aec3_fft_unittest.cc", | 574 "aec3/aec3_fft_unittest.cc", |
| 572 "aec3/aec_state_unittest.cc", | 575 "aec3/aec_state_unittest.cc", |
| 573 "aec3/block_framer_unittest.cc", | 576 "aec3/block_framer_unittest.cc", |
| 574 "aec3/block_processor_metrics_unittest.cc", | 577 "aec3/block_processor_metrics_unittest.cc", |
| 575 "aec3/block_processor_unittest.cc", | 578 "aec3/block_processor_unittest.cc", |
| 576 "aec3/cascaded_biquad_filter_unittest.cc", | 579 "aec3/cascaded_biquad_filter_unittest.cc", |
| 577 "aec3/comfort_noise_generator_unittest.cc", | 580 "aec3/comfort_noise_generator_unittest.cc", |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 "test/wav_based_simulator.cc", | 699 "test/wav_based_simulator.cc", |
| 697 "test/wav_based_simulator.h", | 700 "test/wav_based_simulator.h", |
| 698 ] | 701 ] |
| 699 | 702 |
| 700 deps = [ | 703 deps = [ |
| 701 ":audio_processing", | 704 ":audio_processing", |
| 702 ":audioproc_debug_proto", | 705 ":audioproc_debug_proto", |
| 703 ":audioproc_protobuf_utils", | 706 ":audioproc_protobuf_utils", |
| 704 ":audioproc_test_utils", | 707 ":audioproc_test_utils", |
| 705 "../../base:rtc_base_approved", | 708 "../../base:rtc_base_approved", |
| 709 "../../base:rtc_task_queue", |
| 706 "../../common_audio:common_audio", | 710 "../../common_audio:common_audio", |
| 707 "../../system_wrappers", | 711 "../../system_wrappers", |
| 708 "../../system_wrappers:system_wrappers_default", | 712 "../../system_wrappers:system_wrappers_default", |
| 709 "../../test:test_support", | 713 "../../test:test_support", |
| 710 "//testing/gtest", | 714 "//testing/gtest", |
| 711 "//third_party/gflags:gflags", | 715 "//third_party/gflags:gflags", |
| 712 ] | 716 ] |
| 713 } # audioproc_f | 717 } # audioproc_f |
| 714 } | 718 } |
| 715 | 719 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 ] | 819 ] |
| 816 | 820 |
| 817 deps = [ | 821 deps = [ |
| 818 ":audioproc_debug_proto", | 822 ":audioproc_debug_proto", |
| 819 "../..:webrtc_common", | 823 "../..:webrtc_common", |
| 820 "../../base:rtc_base_approved", | 824 "../../base:rtc_base_approved", |
| 821 ] | 825 ] |
| 822 } | 826 } |
| 823 } | 827 } |
| 824 } | 828 } |
| OLD | NEW |