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