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

Side by Side Diff: webrtc/modules/audio_coding/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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 rtc_static_library("rent_a_codec") { 67 rtc_static_library("rent_a_codec") {
68 sources = [ 68 sources = [
69 "acm2/acm_codec_database.cc", 69 "acm2/acm_codec_database.cc",
70 "acm2/acm_codec_database.h", 70 "acm2/acm_codec_database.h",
71 "acm2/rent_a_codec.cc", 71 "acm2/rent_a_codec.cc",
72 "acm2/rent_a_codec.h", 72 "acm2/rent_a_codec.h",
73 ] 73 ]
74 deps = [ 74 deps = [
75 "../../api/audio_codecs:audio_codecs_api", 75 "../../api/audio_codecs:audio_codecs_api",
76 "../..:webrtc_common", 76 "../..:webrtc_common",
77 "../../base:protobuf_utils",
78 "../../base:rtc_base_approved", 77 "../../base:rtc_base_approved",
79 "../../system_wrappers", 78 "../../system_wrappers",
80 ":audio_coding_module_typedefs", 79 ":audio_coding_module_typedefs",
81 ":audio_encoder_interface", 80 ":audio_encoder_interface",
82 ":isac_common", 81 ":isac_common",
83 ":isac_fix_c", 82 ":isac_fix_c",
84 ":neteq_decoder_enum", 83 ":neteq_decoder_enum",
85 ] + audio_codec_deps 84 ] + audio_codec_deps
86
87 defines = audio_codec_defines 85 defines = audio_codec_defines
88 } 86 }
89 87
90 config("audio_coding_config") { 88 config("audio_coding_config") {
91 include_dirs = [ 89 include_dirs = [
92 "include", 90 "include",
93 "../include", 91 "../include",
94 ] 92 ]
95 } 93 }
96 94
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 "codecs/opus/audio_decoder_opus.h", 821 "codecs/opus/audio_decoder_opus.h",
824 "codecs/opus/audio_encoder_opus.cc", 822 "codecs/opus/audio_encoder_opus.cc",
825 "codecs/opus/audio_encoder_opus.h", 823 "codecs/opus/audio_encoder_opus.h",
826 ] 824 ]
827 825
828 deps = [ 826 deps = [
829 ":audio_encoder_interface", 827 ":audio_encoder_interface",
830 ":audio_network_adaptor", 828 ":audio_network_adaptor",
831 "../..:webrtc_common", 829 "../..:webrtc_common",
832 "../../api/audio_codecs:audio_codecs_api", 830 "../../api/audio_codecs:audio_codecs_api",
833 "../../base:protobuf_utils",
834 "../../base:rtc_base_approved", 831 "../../base:rtc_base_approved",
835 "../../base:rtc_numerics", 832 "../../base:rtc_numerics",
836 "../../common_audio", 833 "../../common_audio",
837 "../../system_wrappers", 834 "../../system_wrappers",
838 ] 835 ]
839 public_deps = [ 836 public_deps = [
840 ":webrtc_opus_c", 837 ":webrtc_opus_c",
841 ] 838 ]
842 839
843 defines = audio_codec_defines 840 defines = audio_codec_defines
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 "audio_network_adaptor/fec_controller_rplr_based.cc", 914 "audio_network_adaptor/fec_controller_rplr_based.cc",
918 "audio_network_adaptor/fec_controller_rplr_based.h", 915 "audio_network_adaptor/fec_controller_rplr_based.h",
919 "audio_network_adaptor/frame_length_controller.cc", 916 "audio_network_adaptor/frame_length_controller.cc",
920 "audio_network_adaptor/frame_length_controller.h", 917 "audio_network_adaptor/frame_length_controller.h",
921 "audio_network_adaptor/include/audio_network_adaptor.h", 918 "audio_network_adaptor/include/audio_network_adaptor.h",
922 "audio_network_adaptor/util/threshold_curve.h", 919 "audio_network_adaptor/util/threshold_curve.h",
923 ] 920 ]
924 921
925 deps = [ 922 deps = [
926 "../..:webrtc_common", 923 "../..:webrtc_common",
927 "../../base:protobuf_utils",
928 "../../base:rtc_base_approved", 924 "../../base:rtc_base_approved",
929 "../../common_audio", 925 "../../common_audio",
930 "../../logging:rtc_event_log_api", 926 "../../logging:rtc_event_log_api",
931 "../../system_wrappers", 927 "../../system_wrappers",
932 ] 928 ]
933 929
934 if (rtc_enable_protobuf) { 930 if (rtc_enable_protobuf) {
935 deps += [ 931 deps += [
936 ":ana_config_proto", 932 ":ana_config_proto",
937 ":ana_debug_dump_proto", 933 ":ana_debug_dump_proto",
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 testonly = true 1181 testonly = true
1186 sources = [ 1182 sources = [
1187 "codecs/opus/opus_complexity_unittest.cc", 1183 "codecs/opus/opus_complexity_unittest.cc",
1188 "neteq/test/neteq_performance_unittest.cc", 1184 "neteq/test/neteq_performance_unittest.cc",
1189 ] 1185 ]
1190 deps = [ 1186 deps = [
1191 ":neteq_test_support", 1187 ":neteq_test_support",
1192 ":neteq_unittest_tools", 1188 ":neteq_unittest_tools",
1193 ":webrtc_opus", 1189 ":webrtc_opus",
1194 "../..:webrtc_common", 1190 "../..:webrtc_common",
1195 "../../base:protobuf_utils",
1196 "../../base:rtc_base_approved", 1191 "../../base:rtc_base_approved",
1197 "../../system_wrappers:system_wrappers", 1192 "../../system_wrappers:system_wrappers",
1198 "../../test:test_support", 1193 "../../test:test_support",
1199 ] 1194 ]
1200
1201 if (!build_with_chromium && is_clang) { 1195 if (!build_with_chromium && is_clang) {
1202 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1196 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1203 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1197 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1204 } 1198 }
1205 } 1199 }
1206 1200
1207 rtc_source_set("acm_receive_test") { 1201 rtc_source_set("acm_receive_test") {
1208 testonly = true 1202 testonly = true
1209 sources = [ 1203 sources = [
1210 "acm2/acm_receive_test.cc", 1204 "acm2/acm_receive_test.cc",
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 defines = neteq_defines 1319 defines = neteq_defines
1326 1320
1327 deps += audio_coding_deps 1321 deps += audio_coding_deps
1328 deps += [ 1322 deps += [
1329 ":ilbc", 1323 ":ilbc",
1330 ":isac", 1324 ":isac",
1331 ":isac_fix", 1325 ":isac_fix",
1332 ":neteq", 1326 ":neteq",
1333 ":neteq_unittest_tools", 1327 ":neteq_unittest_tools",
1334 "../../api/audio_codecs:audio_codecs_api", 1328 "../../api/audio_codecs:audio_codecs_api",
1335 "../../base:protobuf_utils",
1336 "../../common_audio", 1329 "../../common_audio",
1337 "../../test:test_main", 1330 "../../test:test_main",
1338 "//testing/gtest", 1331 "//testing/gtest",
1339 ] 1332 ]
1340 1333
1341 data = audio_decoder_unittests_resources 1334 data = audio_decoder_unittests_resources
1342 1335
1343 if (is_android) { 1336 if (is_android) {
1344 deps += [ "//testing/android/native_test:native_test_native_code" ] 1337 deps += [ "//testing/android/native_test:native_test_native_code" ]
1345 shard_timeout = 900 1338 shard_timeout = 900
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
2082 ":neteq", 2075 ":neteq",
2083 ":neteq_test_support", 2076 ":neteq_test_support",
2084 ":neteq_unittest_tools", 2077 ":neteq_unittest_tools",
2085 ":pcm16b", 2078 ":pcm16b",
2086 ":red", 2079 ":red",
2087 ":rent_a_codec", 2080 ":rent_a_codec",
2088 ":webrtc_opus", 2081 ":webrtc_opus",
2089 "../..:webrtc_common", 2082 "../..:webrtc_common",
2090 "../../api/audio_codecs:audio_codecs_api", 2083 "../../api/audio_codecs:audio_codecs_api",
2091 "../../api/audio_codecs:builtin_audio_decoder_factory", 2084 "../../api/audio_codecs:builtin_audio_decoder_factory",
2092 "../../base:protobuf_utils",
2093 "../../base:rtc_base", 2085 "../../base:rtc_base",
2094 "../../base:rtc_base_approved", 2086 "../../base:rtc_base_approved",
2095 "../../base:rtc_base_tests_utils", 2087 "../../base:rtc_base_tests_utils",
2096 "../../common_audio", 2088 "../../common_audio",
2097 "../../system_wrappers:system_wrappers", 2089 "../../system_wrappers:system_wrappers",
2098 "../../test:field_trial", 2090 "../../test:field_trial",
2099 "../../test:rtp_test_utils", 2091 "../../test:rtp_test_utils",
2100 "../../test:test_common", 2092 "../../test:test_common",
2101 "../../test:test_support", 2093 "../../test:test_support",
2102 "//testing/gmock", 2094 "//testing/gmock",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2132 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2141 # TODO(kwiberg): Remove this. 2133 # TODO(kwiberg): Remove this.
2142 rtc_source_set("builtin_audio_decoder_factory") { 2134 rtc_source_set("builtin_audio_decoder_factory") {
2143 sources = [ 2135 sources = [
2144 "codecs/builtin_audio_decoder_factory.h", 2136 "codecs/builtin_audio_decoder_factory.h",
2145 ] 2137 ]
2146 deps = [ 2138 deps = [
2147 "../../api/audio_codecs:builtin_audio_decoder_factory", 2139 "../../api/audio_codecs:builtin_audio_decoder_factory",
2148 ] 2140 ]
2149 } 2141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698