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

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

Issue 2791963003: Reland of Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Fixing webrtc/modules/audio_coding:builtin_audio_encoder_factory 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 "vad/voice_gmm_tables.h", 225 "vad/voice_gmm_tables.h",
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 "../../base:protobuf_utils",
235 "../audio_coding:isac", 236 "../audio_coding:isac",
236 ] 237 ]
237 public_deps = [ 238 public_deps = [
238 ":audio_processing_c", 239 ":audio_processing_c",
239 ] 240 ]
240 241
241 if (apm_debug_dump) { 242 if (apm_debug_dump) {
242 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] 243 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ]
243 } else { 244 } else {
244 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] 245 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ]
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 "vad/vad_audio_proc_unittest.cc", 518 "vad/vad_audio_proc_unittest.cc",
518 "vad/vad_circular_buffer_unittest.cc", 519 "vad/vad_circular_buffer_unittest.cc",
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",
528 "../../base:protobuf_utils",
527 "../../base:rtc_base", 529 "../../base:rtc_base",
528 "../../base:rtc_base_approved", 530 "../../base:rtc_base_approved",
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 ]
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 check_includes = false 650 check_includes = false
649 testonly = true 651 testonly = true
650 sources = [ 652 sources = [
651 "audio_processing_performance_unittest.cc", 653 "audio_processing_performance_unittest.cc",
652 "level_controller/level_controller_complexity_unittest.cc", 654 "level_controller/level_controller_complexity_unittest.cc",
653 "residual_echo_detector_complexity_unittest.cc", 655 "residual_echo_detector_complexity_unittest.cc",
654 ] 656 ]
655 deps = [ 657 deps = [
656 ":audio_processing", 658 ":audio_processing",
657 ":audioproc_test_utils", 659 ":audioproc_test_utils",
660 "../../base:protobuf_utils",
658 "//testing/gtest", 661 "//testing/gtest",
659 ] 662 ]
663
660 if (rtc_enable_intelligibility_enhancer) { 664 if (rtc_enable_intelligibility_enhancer) {
661 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 665 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
662 } else { 666 } else {
663 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] 667 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
664 } 668 }
665 } 669 }
666 670
667 if (rtc_enable_protobuf) { 671 if (rtc_enable_protobuf) {
668 rtc_executable("unpack_aecdump") { 672 rtc_executable("unpack_aecdump") {
669 testonly = true 673 testonly = true
670 sources = [ 674 sources = [
671 "test/unpack.cc", 675 "test/unpack.cc",
672 ] 676 ]
673 677
674 deps = [ 678 deps = [
675 ":audio_processing", 679 ":audio_processing",
676 ":audioproc_debug_proto", 680 ":audioproc_debug_proto",
677 ":audioproc_protobuf_utils", 681 ":audioproc_protobuf_utils",
678 ":audioproc_test_utils", 682 ":audioproc_test_utils",
679 "../..:webrtc_common", 683 "../..:webrtc_common",
684 "../../base:protobuf_utils",
680 "../../base:rtc_base_approved", 685 "../../base:rtc_base_approved",
681 "../../common_audio", 686 "../../common_audio",
682 "../../system_wrappers:system_wrappers_default", 687 "../../system_wrappers:system_wrappers_default",
683 "//third_party/gflags:gflags", 688 "//third_party/gflags:gflags",
684 ] 689 ]
685 } # unpack_aecdump 690 } # unpack_aecdump
686 691
687 rtc_executable("audioproc_f") { 692 rtc_executable("audioproc_f") {
688 testonly = true 693 testonly = true
689 sources = [ 694 sources = [
690 "test/aec_dump_based_simulator.cc", 695 "test/aec_dump_based_simulator.cc",
691 "test/aec_dump_based_simulator.h", 696 "test/aec_dump_based_simulator.h",
692 "test/audio_processing_simulator.cc", 697 "test/audio_processing_simulator.cc",
693 "test/audio_processing_simulator.h", 698 "test/audio_processing_simulator.h",
694 "test/audioproc_float.cc", 699 "test/audioproc_float.cc",
695 "test/wav_based_simulator.cc", 700 "test/wav_based_simulator.cc",
696 "test/wav_based_simulator.h", 701 "test/wav_based_simulator.h",
697 ] 702 ]
698 703
699 deps = [ 704 deps = [
700 ":audio_processing", 705 ":audio_processing",
701 ":audioproc_debug_proto", 706 ":audioproc_debug_proto",
702 ":audioproc_protobuf_utils", 707 ":audioproc_protobuf_utils",
703 ":audioproc_test_utils", 708 ":audioproc_test_utils",
709 "../../base:protobuf_utils",
704 "../../base:rtc_base_approved", 710 "../../base:rtc_base_approved",
705 "../../common_audio:common_audio", 711 "../../common_audio:common_audio",
706 "../../system_wrappers", 712 "../../system_wrappers",
707 "../../system_wrappers:system_wrappers_default", 713 "../../system_wrappers:system_wrappers_default",
708 "../../test:test_support", 714 "../../test:test_support",
709 "//testing/gtest", 715 "//testing/gtest",
710 "//third_party/gflags:gflags", 716 "//third_party/gflags:gflags",
711 ] 717 ]
712 } # audioproc_f 718 } # audioproc_f
713 } 719 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 815
810 rtc_static_library("audioproc_protobuf_utils") { 816 rtc_static_library("audioproc_protobuf_utils") {
811 sources = [ 817 sources = [
812 "test/protobuf_utils.cc", 818 "test/protobuf_utils.cc",
813 "test/protobuf_utils.h", 819 "test/protobuf_utils.h",
814 ] 820 ]
815 821
816 deps = [ 822 deps = [
817 ":audioproc_debug_proto", 823 ":audioproc_debug_proto",
818 "../..:webrtc_common", 824 "../..:webrtc_common",
825 "../../base:protobuf_utils",
819 "../../base:rtc_base_approved", 826 "../../base:rtc_base_approved",
820 ] 827 ]
821 } 828 }
822 } 829 }
823 } 830 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/neteq_unittest.cc ('k') | webrtc/modules/audio_processing/audio_processing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698