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

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

Issue 2786363002: Revert of Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: 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",
236 "../audio_coding:isac", 235 "../audio_coding:isac",
237 ] 236 ]
238 public_deps = [ 237 public_deps = [
239 ":audio_processing_c", 238 ":audio_processing_c",
240 ] 239 ]
241 240
242 if (apm_debug_dump) { 241 if (apm_debug_dump) {
243 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] 242 defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ]
244 } else { 243 } else {
245 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] 244 defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ]
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 "vad/vad_audio_proc_unittest.cc", 517 "vad/vad_audio_proc_unittest.cc",
519 "vad/vad_circular_buffer_unittest.cc", 518 "vad/vad_circular_buffer_unittest.cc",
520 "vad/voice_activity_detector_unittest.cc", 519 "vad/voice_activity_detector_unittest.cc",
521 ] 520 ]
522 521
523 deps = [ 522 deps = [
524 ":audio_processing", 523 ":audio_processing",
525 ":audioproc_test_utils", 524 ":audioproc_test_utils",
526 "../..:webrtc_common", 525 "../..:webrtc_common",
527 "../../base:gtest_prod", 526 "../../base:gtest_prod",
528 "../../base:protobuf_utils",
529 "../../base:rtc_base", 527 "../../base:rtc_base",
530 "../../base:rtc_base_approved", 528 "../../base:rtc_base_approved",
531 "../../common_audio:common_audio", 529 "../../common_audio:common_audio",
532 "../../system_wrappers:system_wrappers", 530 "../../system_wrappers:system_wrappers",
533 "../../test:test_support", 531 "../../test:test_support",
534 "../audio_coding:neteq_unittest_tools", 532 "../audio_coding:neteq_unittest_tools",
535 "test/conversational_speech:unittest", 533 "test/conversational_speech:unittest",
536 "//testing/gmock", 534 "//testing/gmock",
537 "//testing/gtest", 535 "//testing/gtest",
538 ] 536 ]
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 check_includes = false 649 check_includes = false
652 testonly = true 650 testonly = true
653 sources = [ 651 sources = [
654 "audio_processing_performance_unittest.cc", 652 "audio_processing_performance_unittest.cc",
655 "level_controller/level_controller_complexity_unittest.cc", 653 "level_controller/level_controller_complexity_unittest.cc",
656 "residual_echo_detector_complexity_unittest.cc", 654 "residual_echo_detector_complexity_unittest.cc",
657 ] 655 ]
658 deps = [ 656 deps = [
659 ":audio_processing", 657 ":audio_processing",
660 ":audioproc_test_utils", 658 ":audioproc_test_utils",
661 "../../base:protobuf_utils",
662 "//testing/gtest", 659 "//testing/gtest",
663 ] 660 ]
664
665 if (rtc_enable_intelligibility_enhancer) { 661 if (rtc_enable_intelligibility_enhancer) {
666 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 662 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
667 } else { 663 } else {
668 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] 664 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
669 } 665 }
670 } 666 }
671 667
672 if (rtc_enable_protobuf) { 668 if (rtc_enable_protobuf) {
673 rtc_executable("unpack_aecdump") { 669 rtc_executable("unpack_aecdump") {
674 testonly = true 670 testonly = true
675 sources = [ 671 sources = [
676 "test/unpack.cc", 672 "test/unpack.cc",
677 ] 673 ]
678 674
679 deps = [ 675 deps = [
680 ":audio_processing", 676 ":audio_processing",
681 ":audioproc_debug_proto", 677 ":audioproc_debug_proto",
682 ":audioproc_protobuf_utils", 678 ":audioproc_protobuf_utils",
683 ":audioproc_test_utils", 679 ":audioproc_test_utils",
684 "../..:webrtc_common", 680 "../..:webrtc_common",
685 "../../base:protobuf_utils",
686 "../../base:rtc_base_approved", 681 "../../base:rtc_base_approved",
687 "../../common_audio", 682 "../../common_audio",
688 "../../system_wrappers:system_wrappers_default", 683 "../../system_wrappers:system_wrappers_default",
689 "//third_party/gflags:gflags", 684 "//third_party/gflags:gflags",
690 ] 685 ]
691 } # unpack_aecdump 686 } # unpack_aecdump
692 687
693 rtc_executable("audioproc_f") { 688 rtc_executable("audioproc_f") {
694 testonly = true 689 testonly = true
695 sources = [ 690 sources = [
696 "test/aec_dump_based_simulator.cc", 691 "test/aec_dump_based_simulator.cc",
697 "test/aec_dump_based_simulator.h", 692 "test/aec_dump_based_simulator.h",
698 "test/audio_processing_simulator.cc", 693 "test/audio_processing_simulator.cc",
699 "test/audio_processing_simulator.h", 694 "test/audio_processing_simulator.h",
700 "test/audioproc_float.cc", 695 "test/audioproc_float.cc",
701 "test/wav_based_simulator.cc", 696 "test/wav_based_simulator.cc",
702 "test/wav_based_simulator.h", 697 "test/wav_based_simulator.h",
703 ] 698 ]
704 699
705 deps = [ 700 deps = [
706 ":audio_processing", 701 ":audio_processing",
707 ":audioproc_debug_proto", 702 ":audioproc_debug_proto",
708 ":audioproc_protobuf_utils", 703 ":audioproc_protobuf_utils",
709 ":audioproc_test_utils", 704 ":audioproc_test_utils",
710 "../../base:protobuf_utils",
711 "../../base:rtc_base_approved", 705 "../../base:rtc_base_approved",
712 "../../common_audio:common_audio", 706 "../../common_audio:common_audio",
713 "../../system_wrappers", 707 "../../system_wrappers",
714 "../../system_wrappers:system_wrappers_default", 708 "../../system_wrappers:system_wrappers_default",
715 "../../test:test_support", 709 "../../test:test_support",
716 "//testing/gtest", 710 "//testing/gtest",
717 "//third_party/gflags:gflags", 711 "//third_party/gflags:gflags",
718 ] 712 ]
719 } # audioproc_f 713 } # audioproc_f
720 } 714 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 810
817 rtc_static_library("audioproc_protobuf_utils") { 811 rtc_static_library("audioproc_protobuf_utils") {
818 sources = [ 812 sources = [
819 "test/protobuf_utils.cc", 813 "test/protobuf_utils.cc",
820 "test/protobuf_utils.h", 814 "test/protobuf_utils.h",
821 ] 815 ]
822 816
823 deps = [ 817 deps = [
824 ":audioproc_debug_proto", 818 ":audioproc_debug_proto",
825 "../..:webrtc_common", 819 "../..:webrtc_common",
826 "../../base:protobuf_utils",
827 "../../base:rtc_base_approved", 820 "../../base:rtc_base_approved",
828 ] 821 ]
829 } 822 }
830 } 823 }
831 } 824 }
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