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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 ] | 180 ] |
181 | 181 |
182 public_configs = [ ":red_config" ] | 182 public_configs = [ ":red_config" ] |
183 | 183 |
184 deps = [ | 184 deps = [ |
185 ":audio_encoder_interface", | 185 ":audio_encoder_interface", |
186 "../../common_audio", | 186 "../../common_audio", |
187 ] | 187 ] |
188 } | 188 } |
189 | 189 |
| 190 rtc_source_set("audio_coding_utils") { |
| 191 sources = [ |
| 192 "codecs/split_by_samples.cc", |
| 193 "codecs/split_by_samples.h", |
| 194 ] |
| 195 } |
| 196 |
190 config("g711_config") { | 197 config("g711_config") { |
191 include_dirs = [ | 198 include_dirs = [ |
192 "../../..", | 199 "../../..", |
193 "codecs/g711/include", | 200 "codecs/g711/include", |
194 ] | 201 ] |
195 } | 202 } |
196 | 203 |
197 rtc_source_set("g711") { | 204 rtc_source_set("g711") { |
198 sources = [ | 205 sources = [ |
199 "codecs/g711/audio_decoder_pcm.cc", | 206 "codecs/g711/audio_decoder_pcm.cc", |
200 "codecs/g711/audio_decoder_pcm.h", | 207 "codecs/g711/audio_decoder_pcm.h", |
201 "codecs/g711/audio_encoder_pcm.cc", | 208 "codecs/g711/audio_encoder_pcm.cc", |
202 "codecs/g711/audio_encoder_pcm.h", | 209 "codecs/g711/audio_encoder_pcm.h", |
203 "codecs/g711/g711.c", | 210 "codecs/g711/g711.c", |
204 "codecs/g711/g711.h", | 211 "codecs/g711/g711.h", |
205 "codecs/g711/g711_interface.c", | 212 "codecs/g711/g711_interface.c", |
206 "codecs/g711/g711_interface.h", | 213 "codecs/g711/g711_interface.h", |
207 ] | 214 ] |
208 | 215 |
209 public_configs = [ ":g711_config" ] | 216 public_configs = [ ":g711_config" ] |
210 | 217 |
211 deps = [ | 218 deps = [ |
| 219 ":audio_coding_utils", |
212 ":audio_decoder_interface", | 220 ":audio_decoder_interface", |
213 ":audio_encoder_interface", | 221 ":audio_encoder_interface", |
214 ] | 222 ] |
215 } | 223 } |
216 | 224 |
217 config("g722_config") { | 225 config("g722_config") { |
218 include_dirs = [ | 226 include_dirs = [ |
219 "../../..", | 227 "../../..", |
220 "codecs/g722/include", | 228 "codecs/g722/include", |
221 ] | 229 ] |
222 } | 230 } |
223 | 231 |
224 rtc_source_set("g722") { | 232 rtc_source_set("g722") { |
225 sources = [ | 233 sources = [ |
226 "codecs/g722/audio_decoder_g722.cc", | 234 "codecs/g722/audio_decoder_g722.cc", |
227 "codecs/g722/audio_decoder_g722.h", | 235 "codecs/g722/audio_decoder_g722.h", |
228 "codecs/g722/audio_encoder_g722.cc", | 236 "codecs/g722/audio_encoder_g722.cc", |
229 "codecs/g722/audio_encoder_g722.h", | 237 "codecs/g722/audio_encoder_g722.h", |
230 "codecs/g722/g722_decode.c", | 238 "codecs/g722/g722_decode.c", |
231 "codecs/g722/g722_enc_dec.h", | 239 "codecs/g722/g722_enc_dec.h", |
232 "codecs/g722/g722_encode.c", | 240 "codecs/g722/g722_encode.c", |
233 "codecs/g722/g722_interface.c", | 241 "codecs/g722/g722_interface.c", |
234 "codecs/g722/g722_interface.h", | 242 "codecs/g722/g722_interface.h", |
235 ] | 243 ] |
236 | 244 |
237 public_configs = [ ":g722_config" ] | 245 public_configs = [ ":g722_config" ] |
238 | 246 |
239 deps = [ | 247 deps = [ |
| 248 ":audio_coding_utils", |
240 ":audio_decoder_interface", | 249 ":audio_decoder_interface", |
241 ":audio_encoder_interface", | 250 ":audio_encoder_interface", |
242 ] | 251 ] |
243 } | 252 } |
244 | 253 |
245 config("ilbc_config") { | 254 config("ilbc_config") { |
246 include_dirs = [ | 255 include_dirs = [ |
247 "../../..", | 256 "../../..", |
248 "codecs/ilbc/include", | 257 "codecs/ilbc/include", |
249 ] | 258 ] |
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 "//testing/gtest", | 1568 "//testing/gtest", |
1560 ] | 1569 ] |
1561 | 1570 |
1562 if (is_clang) { | 1571 if (is_clang) { |
1563 # Suppress warnings from Chrome's Clang plugins. | 1572 # Suppress warnings from Chrome's Clang plugins. |
1564 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1573 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1565 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1574 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1566 } | 1575 } |
1567 } | 1576 } |
1568 } | 1577 } |
OLD | NEW |