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/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
11 | 11 |
12 config("common_audio_config") { | 12 config("common_audio_config") { |
13 include_dirs = [ | 13 include_dirs = [ |
14 "resampler/include", | 14 "resampler/include", |
15 "signal_processing/include", | 15 "signal_processing/include", |
16 "vad/include", | 16 "vad/include", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 source_set("common_audio") { | 20 source_set("common_audio") { |
21 sources = [ | 21 sources = [ |
22 "audio_converter.cc", | 22 "audio_converter.cc", |
23 "audio_converter.h", | 23 "audio_converter.h", |
24 "audio_ring_buffer.cc", | |
25 "audio_ring_buffer.h", | |
26 "audio_util.cc", | 24 "audio_util.cc", |
27 "blocker.cc", | |
28 "blocker.h", | |
29 "channel_buffer.cc", | 25 "channel_buffer.cc", |
30 "channel_buffer.h", | 26 "channel_buffer.h", |
31 "fft4g.c", | 27 "fft4g.c", |
32 "fft4g.h", | 28 "fft4g.h", |
33 "fir_filter.cc", | 29 "fir_filter.cc", |
34 "fir_filter.h", | 30 "fir_filter.h", |
35 "fir_filter_neon.h", | 31 "fir_filter_neon.h", |
36 "fir_filter_sse.h", | 32 "fir_filter_sse.h", |
37 "include/audio_util.h", | 33 "include/audio_util.h", |
38 "lapped_transform.cc", | |
39 "lapped_transform.h", | |
40 "real_fourier.cc", | 34 "real_fourier.cc", |
41 "real_fourier.h", | 35 "real_fourier.h", |
42 "real_fourier_ooura.cc", | 36 "real_fourier_ooura.cc", |
43 "real_fourier_ooura.h", | 37 "real_fourier_ooura.h", |
44 "resampler/include/push_resampler.h", | 38 "resampler/include/push_resampler.h", |
45 "resampler/include/resampler.h", | 39 "resampler/include/resampler.h", |
46 "resampler/push_resampler.cc", | 40 "resampler/push_resampler.cc", |
47 "resampler/push_sinc_resampler.cc", | 41 "resampler/push_sinc_resampler.cc", |
48 "resampler/push_sinc_resampler.h", | 42 "resampler/push_sinc_resampler.h", |
49 "resampler/resampler.cc", | 43 "resampler/resampler.cc", |
50 "resampler/sinc_resampler.cc", | 44 "resampler/sinc_resampler.cc", |
51 "resampler/sinc_resampler.h", | 45 "resampler/sinc_resampler.h", |
52 "ring_buffer.c", | |
53 "ring_buffer.h", | |
54 "signal_processing/auto_corr_to_refl_coef.c", | 46 "signal_processing/auto_corr_to_refl_coef.c", |
55 "signal_processing/auto_correlation.c", | 47 "signal_processing/auto_correlation.c", |
56 "signal_processing/complex_fft_tables.h", | 48 "signal_processing/complex_fft_tables.h", |
57 "signal_processing/copy_set_operations.c", | 49 "signal_processing/copy_set_operations.c", |
58 "signal_processing/cross_correlation.c", | 50 "signal_processing/cross_correlation.c", |
59 "signal_processing/division_operations.c", | 51 "signal_processing/division_operations.c", |
60 "signal_processing/dot_product_with_scale.c", | 52 "signal_processing/dot_product_with_scale.c", |
61 "signal_processing/downsample_fast.c", | 53 "signal_processing/downsample_fast.c", |
62 "signal_processing/energy.c", | 54 "signal_processing/energy.c", |
63 "signal_processing/filter_ar.c", | 55 "signal_processing/filter_ar.c", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 cflags -= [ | 226 cflags -= [ |
235 "-flto", | 227 "-flto", |
236 "-ffat-lto-objects", | 228 "-ffat-lto-objects", |
237 ] | 229 ] |
238 } | 230 } |
239 | 231 |
240 configs += [ "..:common_config" ] | 232 configs += [ "..:common_config" ] |
241 public_configs = [ "..:common_inherited_config" ] | 233 public_configs = [ "..:common_inherited_config" ] |
242 } | 234 } |
243 } | 235 } |
OLD | NEW |