OLD | NEW |
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 28 matching lines...) Expand all Loading... |
39 "../../system_wrappers", | 39 "../../system_wrappers", |
40 ] | 40 ] |
41 | 41 |
42 rtc_static_library("audio_format_conversion") { | 42 rtc_static_library("audio_format_conversion") { |
43 sources = [ | 43 sources = [ |
44 "codecs/audio_format_conversion.cc", | 44 "codecs/audio_format_conversion.cc", |
45 "codecs/audio_format_conversion.h", | 45 "codecs/audio_format_conversion.h", |
46 ] | 46 ] |
47 deps = [ | 47 deps = [ |
48 "../..:webrtc_common", | 48 "../..:webrtc_common", |
| 49 "../../api:array_view", |
49 "../../api/audio_codecs:audio_codecs_api", | 50 "../../api/audio_codecs:audio_codecs_api", |
50 "../../rtc_base:rtc_base_approved", | 51 "../../rtc_base:rtc_base_approved", |
51 ] | 52 ] |
52 } | 53 } |
53 | 54 |
54 rtc_static_library("rent_a_codec") { | 55 rtc_static_library("rent_a_codec") { |
55 sources = [ | 56 sources = [ |
56 "acm2/acm_codec_database.cc", | 57 "acm2/acm_codec_database.cc", |
57 "acm2/acm_codec_database.h", | 58 "acm2/acm_codec_database.h", |
58 "acm2/rent_a_codec.cc", | 59 "acm2/rent_a_codec.cc", |
59 "acm2/rent_a_codec.h", | 60 "acm2/rent_a_codec.h", |
60 ] | 61 ] |
61 deps = [ | 62 deps = [ |
| 63 "../../api:array_view", |
62 "../../api/audio_codecs:audio_codecs_api", | 64 "../../api/audio_codecs:audio_codecs_api", |
63 "../..:webrtc_common", | 65 "../..:webrtc_common", |
64 "../../rtc_base:protobuf_utils", | 66 "../../rtc_base:protobuf_utils", |
65 "../../rtc_base:rtc_base_approved", | 67 "../../rtc_base:rtc_base_approved", |
66 "../../system_wrappers", | 68 "../../system_wrappers", |
67 ":audio_coding_module_typedefs", | 69 ":audio_coding_module_typedefs", |
68 ":isac_common", | 70 ":isac_common", |
69 ":isac_fix_c", | 71 ":isac_fix_c", |
70 ":neteq_decoder_enum", | 72 ":neteq_decoder_enum", |
71 ] + audio_codec_deps | 73 ] + audio_codec_deps |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 118 |
117 if (is_win) { | 119 if (is_win) { |
118 cflags = [ | 120 cflags = [ |
119 # TODO(kjellander): Bug 261: fix this warning. | 121 # TODO(kjellander): Bug 261: fix this warning. |
120 "/wd4373", # virtual function override. | 122 "/wd4373", # virtual function override. |
121 ] | 123 ] |
122 } | 124 } |
123 | 125 |
124 deps = audio_coding_deps + [ | 126 deps = audio_coding_deps + [ |
125 "..:module_api", | 127 "..:module_api", |
| 128 "../../api:array_view", |
126 "../../api/audio_codecs:audio_codecs_api", | 129 "../../api/audio_codecs:audio_codecs_api", |
127 "../../api/audio_codecs:builtin_audio_decoder_factory", | 130 "../../api/audio_codecs:builtin_audio_decoder_factory", |
128 ":audio_coding_module_typedefs", | 131 ":audio_coding_module_typedefs", |
129 ":neteq", | 132 ":neteq", |
130 ":rent_a_codec", | 133 ":rent_a_codec", |
131 "../../rtc_base:rtc_base_approved", | 134 "../../rtc_base:rtc_base_approved", |
132 "../../logging:rtc_event_log_api", | 135 "../../logging:rtc_event_log_api", |
133 ] | 136 ] |
134 defines = audio_coding_defines | 137 defines = audio_coding_defines |
135 } | 138 } |
136 | 139 |
137 rtc_static_library("legacy_encoded_audio_frame") { | 140 rtc_static_library("legacy_encoded_audio_frame") { |
138 sources = [ | 141 sources = [ |
139 "codecs/legacy_encoded_audio_frame.cc", | 142 "codecs/legacy_encoded_audio_frame.cc", |
140 "codecs/legacy_encoded_audio_frame.h", | 143 "codecs/legacy_encoded_audio_frame.h", |
141 ] | 144 ] |
142 deps = [ | 145 deps = [ |
| 146 "../../api:array_view", |
143 "../../api/audio_codecs:audio_codecs_api", | 147 "../../api/audio_codecs:audio_codecs_api", |
144 "../../rtc_base:rtc_base_approved", | 148 "../../rtc_base:rtc_base_approved", |
145 ] | 149 ] |
146 } | 150 } |
147 | 151 |
148 config("cng_config") { | 152 config("cng_config") { |
149 include_dirs = [ | 153 include_dirs = [ |
150 "../../..", | 154 "../../..", |
151 "codecs/cng/include", | 155 "codecs/cng/include", |
152 ] | 156 ] |
153 } | 157 } |
154 | 158 |
155 rtc_static_library("cng") { | 159 rtc_static_library("cng") { |
156 sources = [ | 160 sources = [ |
157 "codecs/cng/audio_encoder_cng.cc", | 161 "codecs/cng/audio_encoder_cng.cc", |
158 "codecs/cng/audio_encoder_cng.h", | 162 "codecs/cng/audio_encoder_cng.h", |
159 "codecs/cng/webrtc_cng.cc", | 163 "codecs/cng/webrtc_cng.cc", |
160 "codecs/cng/webrtc_cng.h", | 164 "codecs/cng/webrtc_cng.h", |
161 ] | 165 ] |
162 | 166 |
163 public_configs = [ ":cng_config" ] | 167 public_configs = [ ":cng_config" ] |
164 | 168 |
165 deps = [ | 169 deps = [ |
166 "../..:webrtc_common", | 170 "../..:webrtc_common", |
| 171 "../../api:array_view", |
167 "../../api/audio_codecs:audio_codecs_api", | 172 "../../api/audio_codecs:audio_codecs_api", |
168 "../../common_audio", | 173 "../../common_audio", |
169 "../../rtc_base:rtc_base_approved", | 174 "../../rtc_base:rtc_base_approved", |
170 ] | 175 ] |
171 } | 176 } |
172 | 177 |
173 config("red_config") { | 178 config("red_config") { |
174 include_dirs = [ "codecs/red" ] | 179 include_dirs = [ "codecs/red" ] |
175 } | 180 } |
176 | 181 |
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 | 1109 |
1105 if (!build_with_chromium && is_clang) { | 1110 if (!build_with_chromium && is_clang) { |
1106 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1111 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1112 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1108 } | 1113 } |
1109 | 1114 |
1110 deps = [ | 1115 deps = [ |
1111 ":pcm16b", | 1116 ":pcm16b", |
1112 "..:module_api", | 1117 "..:module_api", |
1113 "../..:webrtc_common", | 1118 "../..:webrtc_common", |
| 1119 "../../api:array_view", |
1114 "../../common_audio", | 1120 "../../common_audio", |
1115 "../../rtc_base:rtc_base_approved", | 1121 "../../rtc_base:rtc_base_approved", |
1116 "../../rtc_base:rtc_base_tests_utils", | 1122 "../../rtc_base:rtc_base_tests_utils", |
1117 "../../test:rtp_test_utils", | 1123 "../../test:rtp_test_utils", |
1118 "../rtp_rtcp", | 1124 "../rtp_rtcp", |
1119 ] | 1125 ] |
1120 | 1126 |
1121 public_deps = [ | 1127 public_deps = [ |
1122 ":neteq_tools", | 1128 ":neteq_tools", |
1123 ":neteq_tools_minimal", | 1129 ":neteq_tools_minimal", |
(...skipping 28 matching lines...) Expand all Loading... |
1152 | 1158 |
1153 public_configs = [ ":neteq_tools_config" ] | 1159 public_configs = [ ":neteq_tools_config" ] |
1154 | 1160 |
1155 if (!build_with_chromium && is_clang) { | 1161 if (!build_with_chromium && is_clang) { |
1156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1162 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1163 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1158 } | 1164 } |
1159 | 1165 |
1160 deps = [ | 1166 deps = [ |
1161 "../..:webrtc_common", | 1167 "../..:webrtc_common", |
| 1168 "../../api:array_view", |
1162 "../../api/audio_codecs:audio_codecs_api", | 1169 "../../api/audio_codecs:audio_codecs_api", |
1163 "../../common_audio", | 1170 "../../common_audio", |
1164 "../../rtc_base:rtc_base_approved", | 1171 "../../rtc_base:rtc_base_approved", |
1165 "../rtp_rtcp", | 1172 "../rtp_rtcp", |
1166 ] | 1173 ] |
1167 | 1174 |
1168 public_deps = [ | 1175 public_deps = [ |
1169 ":neteq_tools_minimal", | 1176 ":neteq_tools_minimal", |
1170 ] | 1177 ] |
1171 } | 1178 } |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2236 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2243 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
2237 # TODO(ossu): Remove this. | 2244 # TODO(ossu): Remove this. |
2238 rtc_source_set("builtin_audio_encoder_factory") { | 2245 rtc_source_set("builtin_audio_encoder_factory") { |
2239 sources = [ | 2246 sources = [ |
2240 "codecs/builtin_audio_encoder_factory.h", | 2247 "codecs/builtin_audio_encoder_factory.h", |
2241 ] | 2248 ] |
2242 deps = [ | 2249 deps = [ |
2243 "../../api/audio_codecs:builtin_audio_encoder_factory", | 2250 "../../api/audio_codecs:builtin_audio_encoder_factory", |
2244 ] | 2251 ] |
2245 } | 2252 } |
OLD | NEW |