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("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 ":rent_a_codec", | 121 ":rent_a_codec", |
122 "../..:rtc_event_log", | 122 "../..:rtc_event_log", |
123 ] | 123 ] |
124 defines = audio_coding_defines | 124 defines = audio_coding_defines |
125 } | 125 } |
126 | 126 |
127 rtc_source_set("audio_decoder_interface") { | 127 rtc_source_set("audio_decoder_interface") { |
128 sources = [ | 128 sources = [ |
129 "codecs/audio_decoder.cc", | 129 "codecs/audio_decoder.cc", |
130 "codecs/audio_decoder.h", | 130 "codecs/audio_decoder.h", |
| 131 "codecs/legacy_encoded_audio_frame.cc", |
| 132 "codecs/legacy_encoded_audio_frame.h", |
131 ] | 133 ] |
132 deps = [ | 134 deps = [ |
133 ":legacy_encoded_audio_frame", | |
134 "../..:webrtc_common", | 135 "../..:webrtc_common", |
135 "../../base:rtc_base_approved", | 136 "../../base:rtc_base_approved", |
136 ] | 137 ] |
137 } | 138 } |
138 | 139 |
139 rtc_source_set("audio_encoder_interface") { | 140 rtc_source_set("audio_encoder_interface") { |
140 sources = [ | 141 sources = [ |
141 "codecs/audio_encoder.cc", | 142 "codecs/audio_encoder.cc", |
142 "codecs/audio_encoder.h", | 143 "codecs/audio_encoder.h", |
143 ] | 144 ] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 ] | 182 ] |
182 | 183 |
183 public_configs = [ ":red_config" ] | 184 public_configs = [ ":red_config" ] |
184 | 185 |
185 deps = [ | 186 deps = [ |
186 ":audio_encoder_interface", | 187 ":audio_encoder_interface", |
187 "../../common_audio", | 188 "../../common_audio", |
188 ] | 189 ] |
189 } | 190 } |
190 | 191 |
191 rtc_source_set("legacy_encoded_audio_frame") { | |
192 sources = [ | |
193 "codecs/legacy_encoded_audio_frame.cc", | |
194 "codecs/legacy_encoded_audio_frame.h", | |
195 ] | |
196 } | |
197 | |
198 config("g711_config") { | 192 config("g711_config") { |
199 include_dirs = [ | 193 include_dirs = [ |
200 "../../..", | 194 "../../..", |
201 "codecs/g711/include", | 195 "codecs/g711/include", |
202 ] | 196 ] |
203 } | 197 } |
204 | 198 |
205 rtc_source_set("g711") { | 199 rtc_source_set("g711") { |
206 sources = [ | 200 sources = [ |
207 "codecs/g711/audio_decoder_pcm.cc", | 201 "codecs/g711/audio_decoder_pcm.cc", |
208 "codecs/g711/audio_decoder_pcm.h", | 202 "codecs/g711/audio_decoder_pcm.h", |
209 "codecs/g711/audio_encoder_pcm.cc", | 203 "codecs/g711/audio_encoder_pcm.cc", |
210 "codecs/g711/audio_encoder_pcm.h", | 204 "codecs/g711/audio_encoder_pcm.h", |
211 "codecs/g711/g711.c", | 205 "codecs/g711/g711.c", |
212 "codecs/g711/g711.h", | 206 "codecs/g711/g711.h", |
213 "codecs/g711/g711_interface.c", | 207 "codecs/g711/g711_interface.c", |
214 "codecs/g711/g711_interface.h", | 208 "codecs/g711/g711_interface.h", |
215 ] | 209 ] |
216 | 210 |
217 public_configs = [ ":g711_config" ] | 211 public_configs = [ ":g711_config" ] |
218 | 212 |
219 deps = [ | 213 deps = [ |
220 ":audio_decoder_interface", | 214 ":audio_decoder_interface", |
221 ":audio_encoder_interface", | 215 ":audio_encoder_interface", |
222 ":legacy_encoded_audio_frame", | |
223 ] | 216 ] |
224 } | 217 } |
225 | 218 |
226 config("g722_config") { | 219 config("g722_config") { |
227 include_dirs = [ | 220 include_dirs = [ |
228 "../../..", | 221 "../../..", |
229 "codecs/g722/include", | 222 "codecs/g722/include", |
230 ] | 223 ] |
231 } | 224 } |
232 | 225 |
233 rtc_source_set("g722") { | 226 rtc_source_set("g722") { |
234 sources = [ | 227 sources = [ |
235 "codecs/g722/audio_decoder_g722.cc", | 228 "codecs/g722/audio_decoder_g722.cc", |
236 "codecs/g722/audio_decoder_g722.h", | 229 "codecs/g722/audio_decoder_g722.h", |
237 "codecs/g722/audio_encoder_g722.cc", | 230 "codecs/g722/audio_encoder_g722.cc", |
238 "codecs/g722/audio_encoder_g722.h", | 231 "codecs/g722/audio_encoder_g722.h", |
239 "codecs/g722/g722_decode.c", | 232 "codecs/g722/g722_decode.c", |
240 "codecs/g722/g722_enc_dec.h", | 233 "codecs/g722/g722_enc_dec.h", |
241 "codecs/g722/g722_encode.c", | 234 "codecs/g722/g722_encode.c", |
242 "codecs/g722/g722_interface.c", | 235 "codecs/g722/g722_interface.c", |
243 "codecs/g722/g722_interface.h", | 236 "codecs/g722/g722_interface.h", |
244 ] | 237 ] |
245 | 238 |
246 public_configs = [ ":g722_config" ] | 239 public_configs = [ ":g722_config" ] |
247 | 240 |
248 deps = [ | 241 deps = [ |
249 ":audio_decoder_interface", | 242 ":audio_decoder_interface", |
250 ":audio_encoder_interface", | 243 ":audio_encoder_interface", |
251 ":legacy_encoded_audio_frame", | |
252 ] | 244 ] |
253 } | 245 } |
254 | 246 |
255 config("ilbc_config") { | 247 config("ilbc_config") { |
256 include_dirs = [ | 248 include_dirs = [ |
257 "../../..", | 249 "../../..", |
258 "codecs/ilbc/include", | 250 "codecs/ilbc/include", |
259 ] | 251 ] |
260 } | 252 } |
261 | 253 |
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1575 "//testing/gtest", | 1567 "//testing/gtest", |
1576 ] | 1568 ] |
1577 | 1569 |
1578 if (is_clang) { | 1570 if (is_clang) { |
1579 # Suppress warnings from Chrome's Clang plugins. | 1571 # Suppress warnings from Chrome's Clang plugins. |
1580 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1572 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1581 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1573 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1582 } | 1574 } |
1583 } | 1575 } |
1584 } | 1576 } |
OLD | NEW |