1# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS.  All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("//build/config/arm.gni")
10import("../../build/webrtc.gni")
11
12config("audio_coding_config") {
13  include_dirs = [
14    "main/interface",
15    "../interface",
16  ]
17}
18
19source_set("audio_coding") {
20  sources = [
21    "main/acm2/acm_amr.cc",
22    "main/acm2/acm_amr.h",
23    "main/acm2/acm_amrwb.cc",
24    "main/acm2/acm_amrwb.h",
25    "main/acm2/acm_celt.cc",
26    "main/acm2/acm_celt.h",
27    "main/acm2/acm_cng.cc",
28    "main/acm2/acm_cng.h",
29    "main/acm2/acm_codec_database.cc",
30    "main/acm2/acm_codec_database.h",
31    "main/acm2/acm_common_defs.h",
32    "main/acm2/acm_dtmf_playout.cc",
33    "main/acm2/acm_dtmf_playout.h",
34    "main/acm2/acm_g722.cc",
35    "main/acm2/acm_g722.h",
36    "main/acm2/acm_g7221.cc",
37    "main/acm2/acm_g7221.h",
38    "main/acm2/acm_g7221c.cc",
39    "main/acm2/acm_g7221c.h",
40    "main/acm2/acm_g729.cc",
41    "main/acm2/acm_g729.h",
42    "main/acm2/acm_g7291.cc",
43    "main/acm2/acm_g7291.h",
44    "main/acm2/acm_generic_codec.cc",
45    "main/acm2/acm_generic_codec.h",
46    "main/acm2/acm_gsmfr.cc",
47    "main/acm2/acm_gsmfr.h",
48    "main/acm2/acm_ilbc.cc",
49    "main/acm2/acm_ilbc.h",
50    "main/acm2/acm_isac.cc",
51    "main/acm2/acm_isac.h",
52    "main/acm2/acm_isac_macros.h",
53    "main/acm2/acm_opus.cc",
54    "main/acm2/acm_opus.h",
55    "main/acm2/acm_speex.cc",
56    "main/acm2/acm_speex.h",
57    "main/acm2/acm_pcm16b.cc",
58    "main/acm2/acm_pcm16b.h",
59    "main/acm2/acm_pcma.cc",
60    "main/acm2/acm_pcma.h",
61    "main/acm2/acm_pcmu.cc",
62    "main/acm2/acm_pcmu.h",
63    "main/acm2/acm_red.cc",
64    "main/acm2/acm_red.h",
65    "main/acm2/acm_receiver.cc",
66    "main/acm2/acm_receiver.h",
67    "main/acm2/acm_resampler.cc",
68    "main/acm2/acm_resampler.h",
69    "main/acm2/audio_coding_module.cc",
70    "main/acm2/audio_coding_module_impl.cc",
71    "main/acm2/audio_coding_module_impl.h",
72    "main/acm2/call_statistics.cc",
73    "main/acm2/call_statistics.h",
74    "main/acm2/initial_delay_manager.cc",
75    "main/acm2/initial_delay_manager.h",
76    "main/acm2/nack.cc",
77    "main/acm2/nack.h",
78    "main/interface/audio_coding_module.h",
79    "main/interface/audio_coding_module_typedefs.h",
80  ]
81
82  defines = []
83
84  direct_dependent_configs = [ ":audio_coding_config" ]
85
86  if (is_clang) {
87    # Suppress warnings from Chrome's Clang plugins.
88    # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
89    configs -= [ "//build/config/clang:find_bad_constructs" ]
90  }
91
92  deps = [
93    ":cng",
94    ":g711",
95    ":g722",
96    ":ilbc",
97    ":isac",
98    ":isacfix",
99    ":neteq",
100    ":pcm16b",
101    "../../common_audio",
102    "../../system_wrappers",
103  ]
104
105  if (rtc_include_opus) {
106    defines += [ "WEBRTC_CODEC_OPUS" ]
107    deps += [ ":webrtc_opus" ]
108  }
109}
110
111config("cng_config") {
112  include_dirs = [
113    "../../..",
114    "codecs/cng/include",
115  ]
116}
117
118source_set("cng") {
119  sources = [
120    "codecs/cng/cng_helpfuns.c",
121    "codecs/cng/cng_helpfuns.h",
122    "codecs/cng/include/webrtc_cng.h",
123    "codecs/cng/webrtc_cng.c",
124  ]
125
126  direct_dependent_configs = [ ":cng_config" ]
127
128  deps = [ "../../common_audio" ]
129}
130
131config("g711_config") {
132  include_dirs = [
133    "../../..",
134    "codecs/g711/include",
135  ]
136}
137
138source_set("g711") {
139  sources = [
140    "codecs/g711/include/g711_interface.h",
141    "codecs/g711/g711_interface.c",
142    "codecs/g711/g711.c",
143    "codecs/g711/g711.h",
144  ]
145
146  direct_dependent_configs = [ ":g711_config" ]
147}
148
149config("g722_config") {
150  include_dirs = [
151    "../../..",
152    "codecs/g722/include",
153  ]
154}
155
156source_set("g722") {
157  sources = [
158    "codecs/g722/include/g722_interface.h",
159    "codecs/g722/g722_interface.c",
160    "codecs/g722/g722_encode.c",
161    "codecs/g722/g722_decode.c",
162    "codecs/g722/g722_enc_dec.h",
163  ]
164
165  direct_dependent_configs = [ ":g722_config" ]
166}
167
168config("ilbc_config") {
169  include_dirs = [
170    "../../..",
171    "codecs/ilbc/interface",
172  ]
173}
174
175source_set("ilbc") {
176  sources = [
177    "codecs/ilbc/abs_quant.c",
178    "codecs/ilbc/abs_quant.h",
179    "codecs/ilbc/abs_quant_loop.c",
180    "codecs/ilbc/abs_quant_loop.h",
181    "codecs/ilbc/augmented_cb_corr.c",
182    "codecs/ilbc/augmented_cb_corr.h",
183    "codecs/ilbc/bw_expand.c",
184    "codecs/ilbc/bw_expand.h",
185    "codecs/ilbc/cb_construct.c",
186    "codecs/ilbc/cb_construct.h",
187    "codecs/ilbc/cb_mem_energy_augmentation.c",
188    "codecs/ilbc/cb_mem_energy_augmentation.h",
189    "codecs/ilbc/cb_mem_energy.c",
190    "codecs/ilbc/cb_mem_energy_calc.c",
191    "codecs/ilbc/cb_mem_energy_calc.h",
192    "codecs/ilbc/cb_mem_energy.h",
193    "codecs/ilbc/cb_search.c",
194    "codecs/ilbc/cb_search_core.c",
195    "codecs/ilbc/cb_search_core.h",
196    "codecs/ilbc/cb_search.h",
197    "codecs/ilbc/cb_update_best_index.c",
198    "codecs/ilbc/cb_update_best_index.h",
199    "codecs/ilbc/chebyshev.c",
200    "codecs/ilbc/chebyshev.h",
201    "codecs/ilbc/comp_corr.c",
202    "codecs/ilbc/comp_corr.h",
203    "codecs/ilbc/constants.c",
204    "codecs/ilbc/constants.h",
205    "codecs/ilbc/create_augmented_vec.c",
206    "codecs/ilbc/create_augmented_vec.h",
207    "codecs/ilbc/decode.c",
208    "codecs/ilbc/decode.h",
209    "codecs/ilbc/decode_residual.c",
210    "codecs/ilbc/decode_residual.h",
211    "codecs/ilbc/decoder_interpolate_lsf.c",
212    "codecs/ilbc/decoder_interpolate_lsf.h",
213    "codecs/ilbc/defines.h",
214    "codecs/ilbc/do_plc.c",
215    "codecs/ilbc/do_plc.h",
216    "codecs/ilbc/encode.c",
217    "codecs/ilbc/encode.h",
218    "codecs/ilbc/energy_inverse.c",
219    "codecs/ilbc/energy_inverse.h",
220    "codecs/ilbc/enhancer.c",
221    "codecs/ilbc/enhancer.h",
222    "codecs/ilbc/enhancer_interface.c",
223    "codecs/ilbc/enhancer_interface.h",
224    "codecs/ilbc/enh_upsample.c",
225    "codecs/ilbc/enh_upsample.h",
226    "codecs/ilbc/filtered_cb_vecs.c",
227    "codecs/ilbc/filtered_cb_vecs.h",
228    "codecs/ilbc/frame_classify.c",
229    "codecs/ilbc/frame_classify.h",
230    "codecs/ilbc/gain_dequant.c",
231    "codecs/ilbc/gain_dequant.h",
232    "codecs/ilbc/gain_quant.c",
233    "codecs/ilbc/gain_quant.h",
234    "codecs/ilbc/get_cd_vec.c",
235    "codecs/ilbc/get_cd_vec.h",
236    "codecs/ilbc/get_lsp_poly.c",
237    "codecs/ilbc/get_lsp_poly.h",
238    "codecs/ilbc/get_sync_seq.c",
239    "codecs/ilbc/get_sync_seq.h",
240    "codecs/ilbc/hp_input.c",
241    "codecs/ilbc/hp_input.h",
242    "codecs/ilbc/hp_output.c",
243    "codecs/ilbc/hp_output.h",
244    "codecs/ilbc/ilbc.c",
245    "codecs/ilbc/index_conv_dec.c",
246    "codecs/ilbc/index_conv_dec.h",
247    "codecs/ilbc/index_conv_enc.c",
248    "codecs/ilbc/index_conv_enc.h",
249    "codecs/ilbc/init_decode.c",
250    "codecs/ilbc/init_decode.h",
251    "codecs/ilbc/init_encode.c",
252    "codecs/ilbc/init_encode.h",
253    "codecs/ilbc/interface/ilbc.h",
254    "codecs/ilbc/interpolate.c",
255    "codecs/ilbc/interpolate.h",
256    "codecs/ilbc/interpolate_samples.c",
257    "codecs/ilbc/interpolate_samples.h",
258    "codecs/ilbc/lpc_encode.c",
259    "codecs/ilbc/lpc_encode.h",
260    "codecs/ilbc/lsf_check.c",
261    "codecs/ilbc/lsf_check.h",
262    "codecs/ilbc/lsf_interpolate_to_poly_dec.c",
263    "codecs/ilbc/lsf_interpolate_to_poly_dec.h",
264    "codecs/ilbc/lsf_interpolate_to_poly_enc.c",
265    "codecs/ilbc/lsf_interpolate_to_poly_enc.h",
266    "codecs/ilbc/lsf_to_lsp.c",
267    "codecs/ilbc/lsf_to_lsp.h",
268    "codecs/ilbc/lsf_to_poly.c",
269    "codecs/ilbc/lsf_to_poly.h",
270    "codecs/ilbc/lsp_to_lsf.c",
271    "codecs/ilbc/lsp_to_lsf.h",
272    "codecs/ilbc/my_corr.c",
273    "codecs/ilbc/my_corr.h",
274    "codecs/ilbc/nearest_neighbor.c",
275    "codecs/ilbc/nearest_neighbor.h",
276    "codecs/ilbc/pack_bits.c",
277    "codecs/ilbc/pack_bits.h",
278    "codecs/ilbc/poly_to_lsf.c",
279    "codecs/ilbc/poly_to_lsf.h",
280    "codecs/ilbc/poly_to_lsp.c",
281    "codecs/ilbc/poly_to_lsp.h",
282    "codecs/ilbc/refiner.c",
283    "codecs/ilbc/refiner.h",
284    "codecs/ilbc/simple_interpolate_lsf.c",
285    "codecs/ilbc/simple_interpolate_lsf.h",
286    "codecs/ilbc/simple_lpc_analysis.c",
287    "codecs/ilbc/simple_lpc_analysis.h",
288    "codecs/ilbc/simple_lsf_dequant.c",
289    "codecs/ilbc/simple_lsf_dequant.h",
290    "codecs/ilbc/simple_lsf_quant.c",
291    "codecs/ilbc/simple_lsf_quant.h",
292    "codecs/ilbc/smooth.c",
293    "codecs/ilbc/smooth.h",
294    "codecs/ilbc/smooth_out_data.c",
295    "codecs/ilbc/smooth_out_data.h",
296    "codecs/ilbc/sort_sq.c",
297    "codecs/ilbc/sort_sq.h",
298    "codecs/ilbc/split_vq.c",
299    "codecs/ilbc/split_vq.h",
300    "codecs/ilbc/state_construct.c",
301    "codecs/ilbc/state_construct.h",
302    "codecs/ilbc/state_search.c",
303    "codecs/ilbc/state_search.h",
304    "codecs/ilbc/swap_bytes.c",
305    "codecs/ilbc/swap_bytes.h",
306    "codecs/ilbc/unpack_bits.c",
307    "codecs/ilbc/unpack_bits.h",
308    "codecs/ilbc/vq3.c",
309    "codecs/ilbc/vq3.h",
310    "codecs/ilbc/vq4.c",
311    "codecs/ilbc/vq4.h",
312    "codecs/ilbc/window32_w32.c",
313    "codecs/ilbc/window32_w32.h",
314    "codecs/ilbc/xcorr_coef.c",
315    "codecs/ilbc/xcorr_coef.h",
316  ]
317
318  direct_dependent_configs = [ ":ilbc_config" ]
319
320  deps = [ "../../common_audio" ]
321}
322
323config("isac_config") {
324  include_dirs = [
325    "../../..",
326    "codecs/isac/main/interface",
327  ]
328}
329
330source_set("isac") {
331  sources = [
332    "codecs/isac/main/interface/isac.h",
333    "codecs/isac/main/source/arith_routines.c",
334    "codecs/isac/main/source/arith_routines.h",
335    "codecs/isac/main/source/arith_routines_hist.c",
336    "codecs/isac/main/source/arith_routines_logist.c",
337    "codecs/isac/main/source/bandwidth_estimator.c",
338    "codecs/isac/main/source/bandwidth_estimator.h",
339    "codecs/isac/main/source/codec.h",
340    "codecs/isac/main/source/crc.c",
341    "codecs/isac/main/source/crc.h",
342    "codecs/isac/main/source/decode_bwe.c",
343    "codecs/isac/main/source/decode.c",
344    "codecs/isac/main/source/encode.c",
345    "codecs/isac/main/source/encode_lpc_swb.c",
346    "codecs/isac/main/source/encode_lpc_swb.h",
347    "codecs/isac/main/source/entropy_coding.c",
348    "codecs/isac/main/source/entropy_coding.h",
349    "codecs/isac/main/source/fft.c",
350    "codecs/isac/main/source/fft.h",
351    "codecs/isac/main/source/filterbanks.c",
352    "codecs/isac/main/source/filterbank_tables.c",
353    "codecs/isac/main/source/filterbank_tables.h",
354    "codecs/isac/main/source/filter_functions.c",
355    "codecs/isac/main/source/intialize.c",
356    "codecs/isac/main/source/isac.c",
357    "codecs/isac/main/source/lattice.c",
358    "codecs/isac/main/source/lpc_analysis.c",
359    "codecs/isac/main/source/lpc_analysis.h",
360    "codecs/isac/main/source/lpc_gain_swb_tables.c",
361    "codecs/isac/main/source/lpc_gain_swb_tables.h",
362    "codecs/isac/main/source/lpc_shape_swb12_tables.c",
363    "codecs/isac/main/source/lpc_shape_swb12_tables.h",
364    "codecs/isac/main/source/lpc_shape_swb16_tables.c",
365    "codecs/isac/main/source/lpc_shape_swb16_tables.h",
366    "codecs/isac/main/source/lpc_tables.c",
367    "codecs/isac/main/source/lpc_tables.h",
368    "codecs/isac/main/source/os_specific_inline.h",
369    "codecs/isac/main/source/pitch_estimator.c",
370    "codecs/isac/main/source/pitch_estimator.h",
371    "codecs/isac/main/source/pitch_filter.c",
372    "codecs/isac/main/source/pitch_gain_tables.c",
373    "codecs/isac/main/source/pitch_gain_tables.h",
374    "codecs/isac/main/source/pitch_lag_tables.c",
375    "codecs/isac/main/source/pitch_lag_tables.h",
376    "codecs/isac/main/source/settings.h",
377    "codecs/isac/main/source/spectrum_ar_model_tables.c",
378    "codecs/isac/main/source/spectrum_ar_model_tables.h",
379    "codecs/isac/main/source/structs.h",
380    "codecs/isac/main/source/transform.c",
381  ]
382
383  if (is_linux) {
384    libs = [ "m" ]
385  }
386
387  configs += [ "../..:common_inherited_config" ]
388
389  direct_dependent_configs = [ ":isac_config" ]
390
391  deps = [ "../../common_audio" ]
392}
393
394config("isac_fix_config") {
395  include_dirs = [
396    "../../..",
397    "codecs/isac/fix/interface",
398  ]
399}
400
401source_set("isacfix") {
402  sources = [
403    "codecs/isac/fix/interface/isacfix.h",
404    "codecs/isac/fix/source/arith_routines.c",
405    "codecs/isac/fix/source/arith_routines_hist.c",
406    "codecs/isac/fix/source/arith_routines_logist.c",
407    "codecs/isac/fix/source/arith_routins.h",
408    "codecs/isac/fix/source/bandwidth_estimator.c",
409    "codecs/isac/fix/source/bandwidth_estimator.h",
410    "codecs/isac/fix/source/codec.h",
411    "codecs/isac/fix/source/decode_bwe.c",
412    "codecs/isac/fix/source/decode.c",
413    "codecs/isac/fix/source/decode_plc.c",
414    "codecs/isac/fix/source/encode.c",
415    "codecs/isac/fix/source/entropy_coding.c",
416    "codecs/isac/fix/source/entropy_coding.h",
417    "codecs/isac/fix/source/fft.c",
418    "codecs/isac/fix/source/fft.h",
419    "codecs/isac/fix/source/filterbanks.c",
420    "codecs/isac/fix/source/filterbank_tables.c",
421    "codecs/isac/fix/source/filterbank_tables.h",
422    "codecs/isac/fix/source/filters.c",
423    "codecs/isac/fix/source/initialize.c",
424    "codecs/isac/fix/source/isacfix.c",
425    "codecs/isac/fix/source/lattice.c",
426    "codecs/isac/fix/source/lpc_masking_model.c",
427    "codecs/isac/fix/source/lpc_masking_model.h",
428    "codecs/isac/fix/source/lpc_tables.c",
429    "codecs/isac/fix/source/lpc_tables.h",
430    "codecs/isac/fix/source/pitch_estimator.c",
431    "codecs/isac/fix/source/pitch_estimator.h",
432    "codecs/isac/fix/source/pitch_filter.c",
433    "codecs/isac/fix/source/pitch_gain_tables.c",
434    "codecs/isac/fix/source/pitch_gain_tables.h",
435    "codecs/isac/fix/source/pitch_lag_tables.c",
436    "codecs/isac/fix/source/pitch_lag_tables.h",
437    "codecs/isac/fix/source/settings.h",
438    "codecs/isac/fix/source/spectrum_ar_model_tables.c",
439    "codecs/isac/fix/source/spectrum_ar_model_tables.h",
440    "codecs/isac/fix/source/structs.h",
441    "codecs/isac/fix/source/transform.c",
442    "codecs/isac/fix/source/transform_tables.c",
443  ]
444
445  if (!is_win) {
446    defines = [ "WEBRTC_LINUX" ]
447  }
448
449  direct_dependent_configs = [ ":isac_fix_config" ]
450
451  deps = [
452    "../../common_audio",
453    "../../system_wrappers",
454  ]
455
456  if (rtc_build_armv7_neon) {
457    deps += [ ":isac_neon" ]
458
459    # Enable compilation for the ARM v7 Neon instruction set. This is needed
460    # since //build/config/arm.gni only enables Neon for iOS, not Android.
461    # This provides the same functionality as webrtc/build/arm_neon.gypi.
462    # TODO(kjellander): Investigate if this can be moved into webrtc.gni or
463    # //build/config/arm.gni instead, to reduce code duplication.
464    # Remove the -mfpu=vfpv3-d16 cflag.
465    configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
466    cflags = [
467      "-flax-vector-conversions",
468      "-mfpu=neon",
469    ]
470
471    sources += [
472      "codecs/isac/fix/source/lattice_armv7.S",
473      "codecs/isac/fix/source/pitch_filter_armv6.S",
474    ]
475  } else {
476    sources += [ "codecs/isac/fix/source/pitch_filter_c.c" ]
477  }
478
479  if (cpu_arch == "mipsel") {
480    sources += [
481      "codecs/isac/fix/source/entropy_coding_mips.c",
482      "codecs/isac/fix/source/filters_mips.c",
483      "codecs/isac/fix/source/lattice_mips.c",
484      "codecs/isac/fix/source/pitch_estimator_mips.c",
485      "codecs/isac/fix/source/transform_mips.c",
486    ]
487    if (mips_dsp_rev > 0) {
488      sources += [ "codecs/isac/fix/source/filterbanks_mips.c" ]
489    }
490    if (mips_dsp_rev > 1) {
491      sources += [
492        "codecs/isac/fix/source/lpc_masking_model_mips.c",
493        "codecs/isac/fix/source/pitch_filter_mips.c",
494      ]
495    } else {
496      sources += [ "codecs/isac/fix/source/pitch_filter_c.c" ]
497    }
498  }
499
500  if (rtc_build_armv7_neon) {
501    sources += [
502      "codecs/isac/fix/source/lattice_c.c",
503      "codecs/isac/fix/source/pitch_estimator_c.c",
504   ]
505  }
506}
507
508if (rtc_build_armv7_neon) {
509  source_set("isac_neon") {
510    sources = [
511      "codecs/isac/fix/source/entropy_coding_neon.c",
512      "codecs/isac/fix/source/filterbanks_neon.S",
513      "codecs/isac/fix/source/filters_neon.S",
514      "codecs/isac/fix/source/lattice_neon.S",
515      "codecs/isac/fix/source/lpc_masking_model_neon.S",
516      "codecs/isac/fix/source/transform_neon.S",
517    ]
518
519    include_dirs = [
520      "../../..",
521    ]
522
523    # Disable LTO in audio_processing_neon target due to compiler bug.
524    if (rtc_use_lto) {
525      cflags -= [
526        "-flto",
527        "-ffat-lto-objects",
528      ]
529    }
530
531    # Enable compilation for the ARM v7 Neon instruction set. This is needed
532    # since //build/config/arm.gni only enables Neon for iOS, not Android.
533    # This provides the same functionality as webrtc/build/arm_neon.gypi.
534    # TODO(kjellander): Investigate if this can be moved into webrtc.gni or
535    # //build/config/arm.gni instead, to reduce code duplication.
536    # Remove the -mfpu=vfpv3-d16 cflag.
537    configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
538    cflags = [
539      "-flax-vector-conversions",
540      "-mfpu=neon",
541    ]
542
543    deps = [ "../../common_audio" ]
544  }
545}
546
547config("pcm16b_config") {
548  include_dirs = [
549    "../../..",
550    "codecs/pcm16b/include",
551  ]
552}
553
554source_set("pcm16b") {
555  sources = [
556    "codecs/pcm16b/include/pcm16b.h",
557    "codecs/pcm16b/pcm16b.c",
558  ]
559
560  direct_dependent_configs = [ ":pcm16b_config" ]
561}
562
563config("opus_config") {
564  include_dirs = [ "../../.." ]
565}
566
567source_set("webrtc_opus") {
568  sources = [
569    "codecs/opus/interface/opus_interface.h",
570    "codecs/opus/opus_inst.h",
571    "codecs/opus/opus_interface.c",
572  ]
573  if (build_with_mozilla) {
574    include_dirs = [ getenv("DIST") + "/include/opus" ]
575  } else {
576    configs += [ "../..:common_inherited_config" ]
577
578    deps = [ "//third_party/opus" ]
579  }
580}
581
582config("neteq_config") {
583  include_dirs = [
584    # Need Opus header files for the audio classifier.
585    "//third_party/opus/src/celt",
586    "//third_party/opus/src/src",
587  ]
588}
589
590source_set("neteq") {
591  sources = [
592    "neteq/interface/audio_decoder.h",
593    "neteq/interface/neteq.h",
594    "neteq/accelerate.cc",
595    "neteq/accelerate.h",
596    "neteq/audio_classifier.cc",
597    "neteq/audio_classifier.h",
598    "neteq/audio_decoder_impl.cc",
599    "neteq/audio_decoder_impl.h",
600    "neteq/audio_decoder.cc",
601    "neteq/audio_multi_vector.cc",
602    "neteq/audio_multi_vector.h",
603    "neteq/audio_vector.cc",
604    "neteq/audio_vector.h",
605    "neteq/background_noise.cc",
606    "neteq/background_noise.h",
607    "neteq/buffer_level_filter.cc",
608    "neteq/buffer_level_filter.h",
609    "neteq/comfort_noise.cc",
610    "neteq/comfort_noise.h",
611    "neteq/decision_logic.cc",
612    "neteq/decision_logic.h",
613    "neteq/decision_logic_fax.cc",
614    "neteq/decision_logic_fax.h",
615    "neteq/decision_logic_normal.cc",
616    "neteq/decision_logic_normal.h",
617    "neteq/decoder_database.cc",
618    "neteq/decoder_database.h",
619    "neteq/defines.h",
620    "neteq/delay_manager.cc",
621    "neteq/delay_manager.h",
622    "neteq/delay_peak_detector.cc",
623    "neteq/delay_peak_detector.h",
624    "neteq/dsp_helper.cc",
625    "neteq/dsp_helper.h",
626    "neteq/dtmf_buffer.cc",
627    "neteq/dtmf_buffer.h",
628    "neteq/dtmf_tone_generator.cc",
629    "neteq/dtmf_tone_generator.h",
630    "neteq/expand.cc",
631    "neteq/expand.h",
632    "neteq/merge.cc",
633    "neteq/merge.h",
634    "neteq/neteq_impl.cc",
635    "neteq/neteq_impl.h",
636    "neteq/neteq.cc",
637    "neteq/statistics_calculator.cc",
638    "neteq/statistics_calculator.h",
639    "neteq/normal.cc",
640    "neteq/normal.h",
641    "neteq/packet_buffer.cc",
642    "neteq/packet_buffer.h",
643    "neteq/payload_splitter.cc",
644    "neteq/payload_splitter.h",
645    "neteq/post_decode_vad.cc",
646    "neteq/post_decode_vad.h",
647    "neteq/preemptive_expand.cc",
648    "neteq/preemptive_expand.h",
649    "neteq/random_vector.cc",
650    "neteq/random_vector.h",
651    "neteq/rtcp.cc",
652    "neteq/rtcp.h",
653    "neteq/sync_buffer.cc",
654    "neteq/sync_buffer.h",
655    "neteq/timestamp_scaler.cc",
656    "neteq/timestamp_scaler.h",
657    "neteq/time_stretch.cc",
658    "neteq/time_stretch.h",
659  ]
660
661  direct_dependent_configs = [ ":neteq_config" ]
662
663  forward_dependent_configs_from = [ "//third_party/opus" ]
664
665  if (is_clang) {
666    # Suppress warnings from Chrome's Clang plugins.
667    # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
668    configs -= [ "//build/config/clang:find_bad_constructs" ]
669  }
670
671  deps = [
672    ":cng",
673    ":g711",
674    ":g722",
675    ":ilbc",
676    ":isac",
677    ":isacfix",
678    ":pcm16b",
679    "../../common_audio",
680    "../../system_wrappers",
681    "//third_party/opus",
682  ]
683}
684