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

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

Powered by Google App Engine
This is Rietveld 408576698