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

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 1438663003: modules/audio_coding: Remove some codec include dirs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase again Created 5 years, 1 month 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
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/audio_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("../../build/webrtc.gni") 10 import("../../build/webrtc.gni")
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 config("cng_config") { 157 config("cng_config") {
158 include_dirs = [ 158 include_dirs = [
159 "../../..", 159 "../../..",
160 "codecs/cng/include", 160 "codecs/cng/include",
161 ] 161 ]
162 } 162 }
163 163
164 source_set("cng") { 164 source_set("cng") {
165 sources = [ 165 sources = [
166 "codecs/cng/audio_encoder_cng.cc", 166 "codecs/cng/audio_encoder_cng.cc",
167 "codecs/cng/audio_encoder_cng.h",
167 "codecs/cng/cng_helpfuns.c", 168 "codecs/cng/cng_helpfuns.c",
168 "codecs/cng/cng_helpfuns.h", 169 "codecs/cng/cng_helpfuns.h",
169 "codecs/cng/include/audio_encoder_cng.h",
170 "codecs/cng/include/webrtc_cng.h",
171 "codecs/cng/webrtc_cng.c", 170 "codecs/cng/webrtc_cng.c",
171 "codecs/cng/webrtc_cng.h",
172 ] 172 ]
173 173
174 configs += [ "../..:common_config" ] 174 configs += [ "../..:common_config" ]
175 175
176 public_configs = [ 176 public_configs = [
177 "../..:common_inherited_config", 177 "../..:common_inherited_config",
178 ":cng_config", 178 ":cng_config",
179 ] 179 ]
180 180
181 deps = [ 181 deps = [
(...skipping 28 matching lines...) Expand all
210 config("g711_config") { 210 config("g711_config") {
211 include_dirs = [ 211 include_dirs = [
212 "../../..", 212 "../../..",
213 "codecs/g711/include", 213 "codecs/g711/include",
214 ] 214 ]
215 } 215 }
216 216
217 source_set("g711") { 217 source_set("g711") {
218 sources = [ 218 sources = [
219 "codecs/g711/audio_decoder_pcm.cc", 219 "codecs/g711/audio_decoder_pcm.cc",
220 "codecs/g711/audio_decoder_pcm.h",
220 "codecs/g711/audio_encoder_pcm.cc", 221 "codecs/g711/audio_encoder_pcm.cc",
222 "codecs/g711/audio_encoder_pcm.h",
221 "codecs/g711/g711.c", 223 "codecs/g711/g711.c",
222 "codecs/g711/g711.h", 224 "codecs/g711/g711.h",
223 "codecs/g711/g711_interface.c", 225 "codecs/g711/g711_interface.c",
224 "codecs/g711/include/audio_decoder_pcm.h", 226 "codecs/g711/g711_interface.h",
225 "codecs/g711/include/audio_encoder_pcm.h",
226 "codecs/g711/include/g711_interface.h",
227 ] 227 ]
228 228
229 configs += [ "../..:common_config" ] 229 configs += [ "../..:common_config" ]
230 230
231 public_configs = [ 231 public_configs = [
232 "../..:common_inherited_config", 232 "../..:common_inherited_config",
233 ":g711_config", 233 ":g711_config",
234 ] 234 ]
235 235
236 deps = [ 236 deps = [
237 ":audio_encoder_interface", 237 ":audio_encoder_interface",
238 ] 238 ]
239 } 239 }
240 240
241 config("g722_config") { 241 config("g722_config") {
242 include_dirs = [ 242 include_dirs = [
243 "../../..", 243 "../../..",
244 "codecs/g722/include", 244 "codecs/g722/include",
245 ] 245 ]
246 } 246 }
247 247
248 source_set("g722") { 248 source_set("g722") {
249 sources = [ 249 sources = [
250 "codecs/g722/audio_decoder_g722.cc", 250 "codecs/g722/audio_decoder_g722.cc",
251 "codecs/g722/audio_decoder_g722.h",
251 "codecs/g722/audio_encoder_g722.cc", 252 "codecs/g722/audio_encoder_g722.cc",
253 "codecs/g722/audio_encoder_g722.h",
252 "codecs/g722/g722_decode.c", 254 "codecs/g722/g722_decode.c",
253 "codecs/g722/g722_enc_dec.h", 255 "codecs/g722/g722_enc_dec.h",
254 "codecs/g722/g722_encode.c", 256 "codecs/g722/g722_encode.c",
255 "codecs/g722/g722_interface.c", 257 "codecs/g722/g722_interface.c",
256 "codecs/g722/include/audio_decoder_g722.h", 258 "codecs/g722/g722_interface.h",
257 "codecs/g722/include/audio_encoder_g722.h",
258 "codecs/g722/include/g722_interface.h",
259 ] 259 ]
260 260
261 configs += [ "../..:common_config" ] 261 configs += [ "../..:common_config" ]
262 262
263 public_configs = [ 263 public_configs = [
264 "../..:common_inherited_config", 264 "../..:common_inherited_config",
265 ":g722_config", 265 ":g722_config",
266 ] 266 ]
267 267
268 deps = [ 268 deps = [
269 ":audio_encoder_interface", 269 ":audio_encoder_interface",
270 ] 270 ]
271 } 271 }
272 272
273 config("ilbc_config") { 273 config("ilbc_config") {
274 include_dirs = [ 274 include_dirs = [
275 "../../..", 275 "../../..",
276 "codecs/ilbc/include", 276 "codecs/ilbc/include",
277 ] 277 ]
278 } 278 }
279 279
280 source_set("ilbc") { 280 source_set("ilbc") {
281 sources = [ 281 sources = [
282 "codecs/ilbc/abs_quant.c", 282 "codecs/ilbc/abs_quant.c",
283 "codecs/ilbc/abs_quant.h", 283 "codecs/ilbc/abs_quant.h",
284 "codecs/ilbc/abs_quant_loop.c", 284 "codecs/ilbc/abs_quant_loop.c",
285 "codecs/ilbc/abs_quant_loop.h", 285 "codecs/ilbc/abs_quant_loop.h",
286 "codecs/ilbc/audio_decoder_ilbc.cc", 286 "codecs/ilbc/audio_decoder_ilbc.cc",
287 "codecs/ilbc/audio_decoder_ilbc.h",
287 "codecs/ilbc/audio_encoder_ilbc.cc", 288 "codecs/ilbc/audio_encoder_ilbc.cc",
289 "codecs/ilbc/audio_encoder_ilbc.h",
288 "codecs/ilbc/augmented_cb_corr.c", 290 "codecs/ilbc/augmented_cb_corr.c",
289 "codecs/ilbc/augmented_cb_corr.h", 291 "codecs/ilbc/augmented_cb_corr.h",
290 "codecs/ilbc/bw_expand.c", 292 "codecs/ilbc/bw_expand.c",
291 "codecs/ilbc/bw_expand.h", 293 "codecs/ilbc/bw_expand.h",
292 "codecs/ilbc/cb_construct.c", 294 "codecs/ilbc/cb_construct.c",
293 "codecs/ilbc/cb_construct.h", 295 "codecs/ilbc/cb_construct.h",
294 "codecs/ilbc/cb_mem_energy.c", 296 "codecs/ilbc/cb_mem_energy.c",
295 "codecs/ilbc/cb_mem_energy.h", 297 "codecs/ilbc/cb_mem_energy.h",
296 "codecs/ilbc/cb_mem_energy_augmentation.c", 298 "codecs/ilbc/cb_mem_energy_augmentation.c",
297 "codecs/ilbc/cb_mem_energy_augmentation.h", 299 "codecs/ilbc/cb_mem_energy_augmentation.h",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 "codecs/ilbc/get_cd_vec.h", 344 "codecs/ilbc/get_cd_vec.h",
343 "codecs/ilbc/get_lsp_poly.c", 345 "codecs/ilbc/get_lsp_poly.c",
344 "codecs/ilbc/get_lsp_poly.h", 346 "codecs/ilbc/get_lsp_poly.h",
345 "codecs/ilbc/get_sync_seq.c", 347 "codecs/ilbc/get_sync_seq.c",
346 "codecs/ilbc/get_sync_seq.h", 348 "codecs/ilbc/get_sync_seq.h",
347 "codecs/ilbc/hp_input.c", 349 "codecs/ilbc/hp_input.c",
348 "codecs/ilbc/hp_input.h", 350 "codecs/ilbc/hp_input.h",
349 "codecs/ilbc/hp_output.c", 351 "codecs/ilbc/hp_output.c",
350 "codecs/ilbc/hp_output.h", 352 "codecs/ilbc/hp_output.h",
351 "codecs/ilbc/ilbc.c", 353 "codecs/ilbc/ilbc.c",
352 "codecs/ilbc/include/audio_decoder_ilbc.h", 354 "codecs/ilbc/ilbc.h",
353 "codecs/ilbc/include/audio_encoder_ilbc.h",
354 "codecs/ilbc/include/ilbc.h",
355 "codecs/ilbc/index_conv_dec.c", 355 "codecs/ilbc/index_conv_dec.c",
356 "codecs/ilbc/index_conv_dec.h", 356 "codecs/ilbc/index_conv_dec.h",
357 "codecs/ilbc/index_conv_enc.c", 357 "codecs/ilbc/index_conv_enc.c",
358 "codecs/ilbc/index_conv_enc.h", 358 "codecs/ilbc/index_conv_enc.h",
359 "codecs/ilbc/init_decode.c", 359 "codecs/ilbc/init_decode.c",
360 "codecs/ilbc/init_decode.h", 360 "codecs/ilbc/init_decode.h",
361 "codecs/ilbc/init_encode.c", 361 "codecs/ilbc/init_encode.c",
362 "codecs/ilbc/init_encode.h", 362 "codecs/ilbc/init_encode.h",
363 "codecs/ilbc/interpolate.c", 363 "codecs/ilbc/interpolate.c",
364 "codecs/ilbc/interpolate.h", 364 "codecs/ilbc/interpolate.h",
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 config("pcm16b_config") { 687 config("pcm16b_config") {
688 include_dirs = [ 688 include_dirs = [
689 "../../..", 689 "../../..",
690 "codecs/pcm16b/include", 690 "codecs/pcm16b/include",
691 ] 691 ]
692 } 692 }
693 693
694 source_set("pcm16b") { 694 source_set("pcm16b") {
695 sources = [ 695 sources = [
696 "codecs/pcm16b/audio_decoder_pcm16b.cc", 696 "codecs/pcm16b/audio_decoder_pcm16b.cc",
697 "codecs/pcm16b/audio_decoder_pcm16b.h",
697 "codecs/pcm16b/audio_encoder_pcm16b.cc", 698 "codecs/pcm16b/audio_encoder_pcm16b.cc",
698 "codecs/pcm16b/include/audio_decoder_pcm16b.h", 699 "codecs/pcm16b/audio_encoder_pcm16b.h",
699 "codecs/pcm16b/include/audio_encoder_pcm16b.h",
700 "codecs/pcm16b/include/pcm16b.h",
701 "codecs/pcm16b/pcm16b.c", 700 "codecs/pcm16b/pcm16b.c",
701 "codecs/pcm16b/pcm16b.h",
702 ] 702 ]
703 703
704 deps = [ 704 deps = [
705 ":audio_encoder_interface", 705 ":audio_encoder_interface",
706 ":g711", 706 ":g711",
707 ] 707 ]
708 708
709 configs += [ "../..:common_config" ] 709 configs += [ "../..:common_config" ]
710 710
711 public_configs = [ 711 public_configs = [
712 "../..:common_inherited_config", 712 "../..:common_inherited_config",
713 ":pcm16b_config", 713 ":pcm16b_config",
714 ] 714 ]
715 } 715 }
716 716
717 config("opus_config") { 717 config("opus_config") {
718 include_dirs = [ "../../.." ] 718 include_dirs = [ "../../.." ]
719 } 719 }
720 720
721 source_set("webrtc_opus") { 721 source_set("webrtc_opus") {
722 sources = [ 722 sources = [
723 "codecs/opus/audio_decoder_opus.cc", 723 "codecs/opus/audio_decoder_opus.cc",
724 "codecs/opus/audio_decoder_opus.h",
724 "codecs/opus/audio_encoder_opus.cc", 725 "codecs/opus/audio_encoder_opus.cc",
725 "codecs/opus/include/audio_decoder_opus.h", 726 "codecs/opus/audio_encoder_opus.h",
726 "codecs/opus/include/audio_encoder_opus.h",
727 "codecs/opus/include/opus_interface.h",
728 "codecs/opus/opus_inst.h", 727 "codecs/opus/opus_inst.h",
729 "codecs/opus/opus_interface.c", 728 "codecs/opus/opus_interface.c",
729 "codecs/opus/opus_interface.h",
730 ] 730 ]
731 731
732 deps = [ 732 deps = [
733 ":audio_encoder_interface", 733 ":audio_encoder_interface",
734 ] 734 ]
735 735
736 if (rtc_build_opus) { 736 if (rtc_build_opus) {
737 configs += [ "../..:common_config" ] 737 configs += [ "../..:common_config" ]
738 public_configs = [ "../..:common_inherited_config" ] 738 public_configs = [ "../..:common_inherited_config" ]
739 739
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 deps += [ ":isac" ] 856 deps += [ ":isac" ]
857 } 857 }
858 defines += [ "WEBRTC_CODEC_G722" ] 858 defines += [ "WEBRTC_CODEC_G722" ]
859 deps += [ ":g722" ] 859 deps += [ ":g722" ]
860 } 860 }
861 if (!build_with_mozilla && !build_with_chromium) { 861 if (!build_with_mozilla && !build_with_chromium) {
862 defines += [ "WEBRTC_CODEC_ILBC" ] 862 defines += [ "WEBRTC_CODEC_ILBC" ]
863 deps += [ ":ilbc" ] 863 deps += [ ":ilbc" ]
864 } 864 }
865 } 865 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/audio_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698