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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 "gain_control_impl.h", | 74 "gain_control_impl.h", |
75 "high_pass_filter_impl.cc", | 75 "high_pass_filter_impl.cc", |
76 "high_pass_filter_impl.h", | 76 "high_pass_filter_impl.h", |
77 "include/audio_processing.h", | 77 "include/audio_processing.h", |
78 "intelligibility/intelligibility_enhancer.cc", | 78 "intelligibility/intelligibility_enhancer.cc", |
79 "intelligibility/intelligibility_enhancer.h", | 79 "intelligibility/intelligibility_enhancer.h", |
80 "intelligibility/intelligibility_utils.cc", | 80 "intelligibility/intelligibility_utils.cc", |
81 "intelligibility/intelligibility_utils.h", | 81 "intelligibility/intelligibility_utils.h", |
82 "level_estimator_impl.cc", | 82 "level_estimator_impl.cc", |
83 "level_estimator_impl.h", | 83 "level_estimator_impl.h", |
84 "logging/aec_logging.h", | 84 "logging/apm_data_dumper.cc", |
85 "logging/aec_logging_file_handling.cc", | 85 "logging/apm_data_dumper.h", |
86 "logging/aec_logging_file_handling.h", | |
87 "noise_suppression_impl.cc", | 86 "noise_suppression_impl.cc", |
88 "noise_suppression_impl.h", | 87 "noise_suppression_impl.h", |
89 "render_queue_item_verifier.h", | 88 "render_queue_item_verifier.h", |
90 "rms_level.cc", | 89 "rms_level.cc", |
91 "rms_level.h", | 90 "rms_level.h", |
92 "splitting_filter.cc", | 91 "splitting_filter.cc", |
93 "splitting_filter.h", | 92 "splitting_filter.h", |
94 "three_band_filter_bank.cc", | 93 "three_band_filter_bank.cc", |
95 "three_band_filter_bank.h", | 94 "three_band_filter_bank.h", |
96 "transient/common.h", | 95 "transient/common.h", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 configs += [ "../..:common_config" ] | 141 configs += [ "../..:common_config" ] |
143 public_configs = [ "../..:common_inherited_config" ] | 142 public_configs = [ "../..:common_inherited_config" ] |
144 | 143 |
145 defines = [] | 144 defines = [] |
146 deps = [ | 145 deps = [ |
147 "../..:webrtc_common", | 146 "../..:webrtc_common", |
148 "../audio_coding:isac", | 147 "../audio_coding:isac", |
149 ] | 148 ] |
150 | 149 |
151 if (aec_debug_dump) { | 150 if (aec_debug_dump) { |
152 defines += [ "WEBRTC_AEC_DEBUG_DUMP" ] | 151 defines += [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
| 152 } else { |
| 153 defines += [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
153 } | 154 } |
154 | 155 |
155 if (aec_untrusted_delay_for_testing) { | 156 if (aec_untrusted_delay_for_testing) { |
156 defines += [ "WEBRTC_UNTRUSTED_DELAY" ] | 157 defines += [ "WEBRTC_UNTRUSTED_DELAY" ] |
157 } | 158 } |
158 | 159 |
159 if (rtc_enable_protobuf) { | 160 if (rtc_enable_protobuf) { |
160 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] | 161 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] |
161 deps += [ ":audioproc_debug_proto" ] | 162 deps += [ ":audioproc_debug_proto" ] |
162 } | 163 } |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 "aec/aec_core_sse2.cc", | 244 "aec/aec_core_sse2.cc", |
244 "aec/aec_rdft_sse2.cc", | 245 "aec/aec_rdft_sse2.cc", |
245 ] | 246 ] |
246 | 247 |
247 if (is_posix) { | 248 if (is_posix) { |
248 cflags = [ "-msse2" ] | 249 cflags = [ "-msse2" ] |
249 } | 250 } |
250 | 251 |
251 configs += [ "../..:common_config" ] | 252 configs += [ "../..:common_config" ] |
252 public_configs = [ "../..:common_inherited_config" ] | 253 public_configs = [ "../..:common_inherited_config" ] |
| 254 |
| 255 if (aec_debug_dump) { |
| 256 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
| 257 } else { |
| 258 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
| 259 } |
253 } | 260 } |
254 } | 261 } |
255 | 262 |
256 if (rtc_build_with_neon) { | 263 if (rtc_build_with_neon) { |
257 source_set("audio_processing_neon") { | 264 source_set("audio_processing_neon") { |
258 sources = [ | 265 sources = [ |
259 "aec/aec_core_neon.cc", | 266 "aec/aec_core_neon.cc", |
260 "aec/aec_rdft_neon.cc", | 267 "aec/aec_rdft_neon.cc", |
261 "aecm/aecm_core_neon.cc", | 268 "aecm/aecm_core_neon.cc", |
262 "ns/nsx_core_neon.c", | 269 "ns/nsx_core_neon.c", |
(...skipping 15 matching lines...) Expand all Loading... |
278 "-ffat-lto-objects", | 285 "-ffat-lto-objects", |
279 ] | 286 ] |
280 } | 287 } |
281 | 288 |
282 configs += [ "../..:common_config" ] | 289 configs += [ "../..:common_config" ] |
283 public_configs = [ "../..:common_inherited_config" ] | 290 public_configs = [ "../..:common_inherited_config" ] |
284 | 291 |
285 deps = [ | 292 deps = [ |
286 "../../common_audio", | 293 "../../common_audio", |
287 ] | 294 ] |
| 295 |
| 296 if (aec_debug_dump) { |
| 297 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
| 298 } else { |
| 299 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
| 300 } |
288 } | 301 } |
289 } | 302 } |
OLD | NEW |