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

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

Issue 2747863003: Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Adding protobuf dep to DEPS file Created 3 years, 9 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 "vad/vad_audio_proc_unittest.cc", 517 "vad/vad_audio_proc_unittest.cc",
517 "vad/vad_circular_buffer_unittest.cc", 518 "vad/vad_circular_buffer_unittest.cc",
518 "vad/voice_activity_detector_unittest.cc", 519 "vad/voice_activity_detector_unittest.cc",
519 ] 520 ]
520 521
521 deps = [ 522 deps = [
522 ":audio_processing", 523 ":audio_processing",
523 ":audioproc_test_utils", 524 ":audioproc_test_utils",
524 "../..:webrtc_common", 525 "../..:webrtc_common",
525 "../../base:gtest_prod", 526 "../../base:gtest_prod",
527 "../../base:protobuf_utils",
526 "../../base:rtc_base", 528 "../../base:rtc_base",
527 "../../base:rtc_base_approved", 529 "../../base:rtc_base_approved",
528 "../../common_audio:common_audio", 530 "../../common_audio:common_audio",
529 "../../system_wrappers:system_wrappers", 531 "../../system_wrappers:system_wrappers",
530 "../../test:test_support", 532 "../../test:test_support",
531 "../audio_coding:neteq_unittest_tools", 533 "../audio_coding:neteq_unittest_tools",
532 "//testing/gmock", 534 "//testing/gmock",
533 "//testing/gtest", 535 "//testing/gtest",
534 ] 536 ]
535 537
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 deps = [ 656 deps = [
655 ":audio_processing", 657 ":audio_processing",
656 ":audioproc_test_utils", 658 ":audioproc_test_utils",
657 "//testing/gtest", 659 "//testing/gtest",
658 ] 660 ]
659 if (rtc_enable_intelligibility_enhancer) { 661 if (rtc_enable_intelligibility_enhancer) {
660 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 662 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
661 } else { 663 } else {
662 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] 664 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
663 } 665 }
666
667 # TODO(mbonadei): remove this before landing this CL
668 include_dirs = [ "//third_party/protobuf/src" ]
664 } 669 }
665 670
666 if (rtc_enable_protobuf) { 671 if (rtc_enable_protobuf) {
667 rtc_executable("unpack_aecdump") { 672 rtc_executable("unpack_aecdump") {
668 testonly = true 673 testonly = true
669 sources = [ 674 sources = [
670 "test/unpack.cc", 675 "test/unpack.cc",
671 ] 676 ]
672 677
673 deps = [ 678 deps = [
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 813
809 rtc_static_library("audioproc_protobuf_utils") { 814 rtc_static_library("audioproc_protobuf_utils") {
810 sources = [ 815 sources = [
811 "test/protobuf_utils.cc", 816 "test/protobuf_utils.cc",
812 "test/protobuf_utils.h", 817 "test/protobuf_utils.h",
813 ] 818 ]
814 819
815 deps = [ 820 deps = [
816 ":audioproc_debug_proto", 821 ":audioproc_debug_proto",
817 "../..:webrtc_common", 822 "../..:webrtc_common",
823 "../../base:protobuf_utils",
818 "../../base:rtc_base_approved", 824 "../../base:rtc_base_approved",
819 ] 825 ]
820 } 826 }
821 } 827 }
822 } 828 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698