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

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

Issue 2747863003: Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Rebasing 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 check_includes = false 651 check_includes = false
650 testonly = true 652 testonly = true
651 sources = [ 653 sources = [
652 "audio_processing_performance_unittest.cc", 654 "audio_processing_performance_unittest.cc",
653 "level_controller/level_controller_complexity_unittest.cc", 655 "level_controller/level_controller_complexity_unittest.cc",
654 "residual_echo_detector_complexity_unittest.cc", 656 "residual_echo_detector_complexity_unittest.cc",
655 ] 657 ]
656 deps = [ 658 deps = [
657 ":audio_processing", 659 ":audio_processing",
658 ":audioproc_test_utils", 660 ":audioproc_test_utils",
661 "../../base:protobuf_utils",
659 "//testing/gtest", 662 "//testing/gtest",
660 ] 663 ]
664
661 if (rtc_enable_intelligibility_enhancer) { 665 if (rtc_enable_intelligibility_enhancer) {
662 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 666 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
663 } else { 667 } else {
664 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] 668 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
665 } 669 }
666 } 670 }
667 671
668 if (rtc_enable_protobuf) { 672 if (rtc_enable_protobuf) {
669 rtc_executable("unpack_aecdump") { 673 rtc_executable("unpack_aecdump") {
670 testonly = true 674 testonly = true
671 sources = [ 675 sources = [
672 "test/unpack.cc", 676 "test/unpack.cc",
673 ] 677 ]
674 678
675 deps = [ 679 deps = [
676 ":audio_processing", 680 ":audio_processing",
677 ":audioproc_debug_proto", 681 ":audioproc_debug_proto",
678 ":audioproc_protobuf_utils", 682 ":audioproc_protobuf_utils",
679 ":audioproc_test_utils", 683 ":audioproc_test_utils",
680 "../..:webrtc_common", 684 "../..:webrtc_common",
685 "../../base:protobuf_utils",
681 "../../base:rtc_base_approved", 686 "../../base:rtc_base_approved",
682 "../../common_audio", 687 "../../common_audio",
683 "../../system_wrappers:system_wrappers_default", 688 "../../system_wrappers:system_wrappers_default",
684 "//third_party/gflags:gflags", 689 "//third_party/gflags:gflags",
685 ] 690 ]
686 } # unpack_aecdump 691 } # unpack_aecdump
687 692
688 rtc_executable("audioproc_f") { 693 rtc_executable("audioproc_f") {
689 testonly = true 694 testonly = true
690 sources = [ 695 sources = [
691 "test/aec_dump_based_simulator.cc", 696 "test/aec_dump_based_simulator.cc",
692 "test/aec_dump_based_simulator.h", 697 "test/aec_dump_based_simulator.h",
693 "test/audio_processing_simulator.cc", 698 "test/audio_processing_simulator.cc",
694 "test/audio_processing_simulator.h", 699 "test/audio_processing_simulator.h",
695 "test/audioproc_float.cc", 700 "test/audioproc_float.cc",
696 "test/wav_based_simulator.cc", 701 "test/wav_based_simulator.cc",
697 "test/wav_based_simulator.h", 702 "test/wav_based_simulator.h",
698 ] 703 ]
699 704
700 deps = [ 705 deps = [
701 ":audio_processing", 706 ":audio_processing",
702 ":audioproc_debug_proto", 707 ":audioproc_debug_proto",
703 ":audioproc_protobuf_utils", 708 ":audioproc_protobuf_utils",
704 ":audioproc_test_utils", 709 ":audioproc_test_utils",
710 "../../base:protobuf_utils",
705 "../../base:rtc_base_approved", 711 "../../base:rtc_base_approved",
706 "../../common_audio:common_audio", 712 "../../common_audio:common_audio",
707 "../../system_wrappers", 713 "../../system_wrappers",
708 "../../system_wrappers:system_wrappers_default", 714 "../../system_wrappers:system_wrappers_default",
709 "../../test:test_support", 715 "../../test:test_support",
710 "//testing/gtest", 716 "//testing/gtest",
711 "//third_party/gflags:gflags", 717 "//third_party/gflags:gflags",
712 ] 718 ]
713 } # audioproc_f 719 } # audioproc_f
714 } 720 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 816
811 rtc_static_library("audioproc_protobuf_utils") { 817 rtc_static_library("audioproc_protobuf_utils") {
812 sources = [ 818 sources = [
813 "test/protobuf_utils.cc", 819 "test/protobuf_utils.cc",
814 "test/protobuf_utils.h", 820 "test/protobuf_utils.h",
815 ] 821 ]
816 822
817 deps = [ 823 deps = [
818 ":audioproc_debug_proto", 824 ":audioproc_debug_proto",
819 "../..:webrtc_common", 825 "../..:webrtc_common",
826 "../../base:protobuf_utils",
820 "../../base:rtc_base_approved", 827 "../../base:rtc_base_approved",
821 ] 828 ]
822 } 829 }
823 } 830 }
824 } 831 }
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