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("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 12 matching lines...) Expand all Loading... |
23 source_set("audio_processing") { | 23 source_set("audio_processing") { |
24 sources = [ | 24 sources = [ |
25 "aec/aec_core.c", | 25 "aec/aec_core.c", |
26 "aec/aec_core.h", | 26 "aec/aec_core.h", |
27 "aec/aec_core_internal.h", | 27 "aec/aec_core_internal.h", |
28 "aec/aec_rdft.c", | 28 "aec/aec_rdft.c", |
29 "aec/aec_rdft.h", | 29 "aec/aec_rdft.h", |
30 "aec/aec_resampler.c", | 30 "aec/aec_resampler.c", |
31 "aec/aec_resampler.h", | 31 "aec/aec_resampler.h", |
32 "aec/echo_cancellation.c", | 32 "aec/echo_cancellation.c", |
| 33 "aec/echo_cancellation.h", |
33 "aec/echo_cancellation_internal.h", | 34 "aec/echo_cancellation_internal.h", |
34 "aec/include/echo_cancellation.h", | |
35 "aecm/aecm_core.c", | 35 "aecm/aecm_core.c", |
36 "aecm/aecm_core.h", | 36 "aecm/aecm_core.h", |
37 "aecm/echo_control_mobile.c", | 37 "aecm/echo_control_mobile.c", |
38 "aecm/include/echo_control_mobile.h", | 38 "aecm/echo_control_mobile.h", |
39 "agc/agc.cc", | 39 "agc/agc.cc", |
40 "agc/agc.h", | 40 "agc/agc.h", |
41 "agc/agc_manager_direct.cc", | 41 "agc/agc_manager_direct.cc", |
42 "agc/agc_manager_direct.h", | 42 "agc/agc_manager_direct.h", |
43 "agc/gain_map_internal.h", | 43 "agc/gain_map_internal.h", |
44 "agc/histogram.cc", | 44 "agc/histogram.cc", |
45 "agc/histogram.h", | 45 "agc/histogram.h", |
46 "agc/legacy/analog_agc.c", | 46 "agc/legacy/analog_agc.c", |
47 "agc/legacy/analog_agc.h", | 47 "agc/legacy/analog_agc.h", |
48 "agc/legacy/digital_agc.c", | 48 "agc/legacy/digital_agc.c", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 } | 154 } |
155 | 155 |
156 if (rtc_enable_protobuf) { | 156 if (rtc_enable_protobuf) { |
157 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] | 157 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] |
158 deps += [ ":audioproc_debug_proto" ] | 158 deps += [ ":audioproc_debug_proto" ] |
159 } | 159 } |
160 | 160 |
161 if (rtc_prefer_fixed_point) { | 161 if (rtc_prefer_fixed_point) { |
162 defines += [ "WEBRTC_NS_FIXED" ] | 162 defines += [ "WEBRTC_NS_FIXED" ] |
163 sources += [ | 163 sources += [ |
164 "ns/include/noise_suppression_x.h", | |
165 "ns/noise_suppression_x.c", | 164 "ns/noise_suppression_x.c", |
| 165 "ns/noise_suppression_x.h", |
166 "ns/nsx_core.c", | 166 "ns/nsx_core.c", |
167 "ns/nsx_core.h", | 167 "ns/nsx_core.h", |
168 "ns/nsx_defines.h", | 168 "ns/nsx_defines.h", |
169 ] | 169 ] |
170 if (current_cpu == "mipsel") { | 170 if (current_cpu == "mipsel") { |
171 sources += [ "ns/nsx_core_mips.c" ] | 171 sources += [ "ns/nsx_core_mips.c" ] |
172 } else { | 172 } else { |
173 sources += [ "ns/nsx_core_c.c" ] | 173 sources += [ "ns/nsx_core_c.c" ] |
174 } | 174 } |
175 } else { | 175 } else { |
176 defines += [ "WEBRTC_NS_FLOAT" ] | 176 defines += [ "WEBRTC_NS_FLOAT" ] |
177 sources += [ | 177 sources += [ |
178 "ns/defines.h", | 178 "ns/defines.h", |
179 "ns/include/noise_suppression.h", | |
180 "ns/noise_suppression.c", | 179 "ns/noise_suppression.c", |
| 180 "ns/noise_suppression.h", |
181 "ns/ns_core.c", | 181 "ns/ns_core.c", |
182 "ns/ns_core.h", | 182 "ns/ns_core.h", |
183 "ns/windows_private.h", | 183 "ns/windows_private.h", |
184 ] | 184 ] |
185 } | 185 } |
186 | 186 |
187 if (current_cpu == "x86" || current_cpu == "x64") { | 187 if (current_cpu == "x86" || current_cpu == "x64") { |
188 deps += [ ":audio_processing_sse2" ] | 188 deps += [ ":audio_processing_sse2" ] |
189 } | 189 } |
190 | 190 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 } | 277 } |
278 | 278 |
279 configs += [ "../..:common_config" ] | 279 configs += [ "../..:common_config" ] |
280 public_configs = [ "../..:common_inherited_config" ] | 280 public_configs = [ "../..:common_inherited_config" ] |
281 | 281 |
282 deps = [ | 282 deps = [ |
283 "../../common_audio", | 283 "../../common_audio", |
284 ] | 284 ] |
285 } | 285 } |
286 } | 286 } |
OLD | NEW |