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

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

Issue 2778783002: AecDump interface (Closed)
Patch Set: Implemented most of Karl's suggestions. Created 3 years, 8 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 # Will change when AEC-dumper is fully implemented.
240 deps += [ "aec_dumper:aec_dumper_no_pb" ]
241 } else {
242 deps += [ "aec_dumper:aec_dumper_no_pb" ]
243 }
237 public_deps = [ 244 public_deps = [
238 ":audio_processing_c", 245 ":audio_processing_c",
239 ] 246 ]
240 247
241 if (apm_debug_dump) { 248 if (apm_debug_dump) {
242 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] 249 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ]
243 } else { 250 } else {
244 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] 251 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ]
245 } 252 }
246 253
247 if (aec_untrusted_delay_for_testing) { 254 if (aec_untrusted_delay_for_testing) {
248 defines += [ "WEBRTC_UNTRUSTED_DELAY" ] 255 defines += [ "WEBRTC_UNTRUSTED_DELAY" ]
249 } 256 }
250 257
258 # Will be removed when AEC-dumper is fully implemented.
251 if (rtc_enable_protobuf) { 259 if (rtc_enable_protobuf) {
252 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] 260 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ]
253 deps += [ ":audioproc_debug_proto" ] 261 deps += [ ":audioproc_debug_proto" ]
254 } 262 }
255 263
256 if (rtc_enable_intelligibility_enhancer) { 264 if (rtc_enable_intelligibility_enhancer) {
257 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 265 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
258 sources += [ 266 sources += [
259 "intelligibility/intelligibility_enhancer.cc", 267 "intelligibility/intelligibility_enhancer.cc",
260 "intelligibility/intelligibility_enhancer.h", 268 "intelligibility/intelligibility_enhancer.h",
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 ":audio_processing", 531 ":audio_processing",
524 ":audioproc_test_utils", 532 ":audioproc_test_utils",
525 "../..:webrtc_common", 533 "../..:webrtc_common",
526 "../../base:gtest_prod", 534 "../../base:gtest_prod",
527 "../../base:rtc_base", 535 "../../base:rtc_base",
528 "../../base:rtc_base_approved", 536 "../../base:rtc_base_approved",
529 "../../common_audio:common_audio", 537 "../../common_audio:common_audio",
530 "../../system_wrappers:system_wrappers", 538 "../../system_wrappers:system_wrappers",
531 "../../test:test_support", 539 "../../test:test_support",
532 "../audio_coding:neteq_unittest_tools", 540 "../audio_coding:neteq_unittest_tools",
541 "aec_dumper:aec_dumper_unittests",
533 "test/conversational_speech:unittest", 542 "test/conversational_speech:unittest",
534 "//testing/gmock", 543 "//testing/gmock",
535 "//testing/gtest", 544 "//testing/gtest",
536 ] 545 ]
537 546
538 defines = [] 547 defines = []
539 548
540 if (apm_debug_dump) { 549 if (apm_debug_dump) {
541 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] 550 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ]
542 } else { 551 } else {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 "test/wav_based_simulator.cc", 705 "test/wav_based_simulator.cc",
697 "test/wav_based_simulator.h", 706 "test/wav_based_simulator.h",
698 ] 707 ]
699 708
700 deps = [ 709 deps = [
701 ":audio_processing", 710 ":audio_processing",
702 ":audioproc_debug_proto", 711 ":audioproc_debug_proto",
703 ":audioproc_protobuf_utils", 712 ":audioproc_protobuf_utils",
704 ":audioproc_test_utils", 713 ":audioproc_test_utils",
705 "../../base:rtc_base_approved", 714 "../../base:rtc_base_approved",
715 "../../base:rtc_task_queue",
706 "../../common_audio:common_audio", 716 "../../common_audio:common_audio",
707 "../../system_wrappers", 717 "../../system_wrappers",
708 "../../system_wrappers:system_wrappers_default", 718 "../../system_wrappers:system_wrappers_default",
709 "../../test:test_support", 719 "../../test:test_support",
710 "//testing/gtest", 720 "//testing/gtest",
711 "//third_party/gflags:gflags", 721 "//third_party/gflags:gflags",
712 ] 722 ]
713 } # audioproc_f 723 } # audioproc_f
714 } 724 }
715 725
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 ] 825 ]
816 826
817 deps = [ 827 deps = [
818 ":audioproc_debug_proto", 828 ":audioproc_debug_proto",
819 "../..:webrtc_common", 829 "../..:webrtc_common",
820 "../../base:rtc_base_approved", 830 "../../base:rtc_base_approved",
821 ] 831 ]
822 } 832 }
823 } 833 }
824 } 834 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698