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

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

Powered by Google App Engine
This is Rietveld 408576698