OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 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 { | 9 { |
10 'variables': { | 10 'variables': { |
11 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_off
sets', | 11 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_off
sets', |
12 # Outputs some low-level debug files. | |
13 'aec_debug_dump%': 0, | |
14 }, | 12 }, |
15 'targets': [ | 13 'targets': [ |
16 { | 14 { |
17 'target_name': 'audio_processing', | 15 'target_name': 'audio_processing', |
18 'type': 'static_library', | 16 'type': 'static_library', |
19 'variables': { | 17 'variables': { |
20 # Outputs some low-level debug files. | 18 # Outputs some low-level debug files. |
21 'agc_debug_dump%': 0, | 19 'agc_debug_dump%': 0, |
22 | 20 |
23 # Disables the usual mode where we trust the reported system delay | 21 # Disables the usual mode where we trust the reported system delay |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 'vad/vad_audio_proc_internal.h', | 156 'vad/vad_audio_proc_internal.h', |
159 'vad/vad_circular_buffer.cc', | 157 'vad/vad_circular_buffer.cc', |
160 'vad/vad_circular_buffer.h', | 158 'vad/vad_circular_buffer.h', |
161 'vad/voice_activity_detector.cc', | 159 'vad/voice_activity_detector.cc', |
162 'vad/voice_activity_detector.h', | 160 'vad/voice_activity_detector.h', |
163 'vad/voice_gmm_tables.h', | 161 'vad/voice_gmm_tables.h', |
164 'voice_detection_impl.cc', | 162 'voice_detection_impl.cc', |
165 'voice_detection_impl.h', | 163 'voice_detection_impl.h', |
166 ], | 164 ], |
167 'conditions': [ | 165 'conditions': [ |
168 ['aec_debug_dump==1', { | 166 ['apm_debug_dump==1', { |
169 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], | 167 'defines': ['WEBRTC_APM_DEBUG_DUMP=1',], |
170 }, { | 168 }, { |
171 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], | 169 'defines': ['WEBRTC_APM_DEBUG_DUMP=0',], |
172 }], | 170 }], |
173 ['aec_untrusted_delay_for_testing==1', { | 171 ['aec_untrusted_delay_for_testing==1', { |
174 'defines': ['WEBRTC_UNTRUSTED_DELAY',], | 172 'defines': ['WEBRTC_UNTRUSTED_DELAY',], |
175 }], | 173 }], |
176 ['agc_debug_dump==1', { | 174 ['agc_debug_dump==1', { |
177 'defines': ['WEBRTC_AGC_DEBUG_DUMP',], | 175 'defines': ['WEBRTC_AGC_DEBUG_DUMP',], |
178 }], | 176 }], |
179 ['enable_protobuf==1', { | 177 ['enable_protobuf==1', { |
180 'dependencies': ['audioproc_debug_proto'], | 178 'dependencies': ['audioproc_debug_proto'], |
181 'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'], | 179 'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'], |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 ['target_arch=="ia32" or target_arch=="x64"', { | 269 ['target_arch=="ia32" or target_arch=="x64"', { |
272 'targets': [ | 270 'targets': [ |
273 { | 271 { |
274 'target_name': 'audio_processing_sse2', | 272 'target_name': 'audio_processing_sse2', |
275 'type': 'static_library', | 273 'type': 'static_library', |
276 'sources': [ | 274 'sources': [ |
277 'aec/aec_core_sse2.cc', | 275 'aec/aec_core_sse2.cc', |
278 'aec/aec_rdft_sse2.cc', | 276 'aec/aec_rdft_sse2.cc', |
279 ], | 277 ], |
280 'conditions': [ | 278 'conditions': [ |
281 ['aec_debug_dump==1', { | 279 ['apm_debug_dump==1', { |
282 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], | 280 'defines': ['WEBRTC_APM_DEBUG_DUMP=1',], |
283 }, { | 281 }, { |
284 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], | 282 'defines': ['WEBRTC_APM_DEBUG_DUMP=0',], |
285 }], | 283 }], |
286 ['os_posix==1', { | 284 ['os_posix==1', { |
287 'cflags': [ '-msse2', ], | 285 'cflags': [ '-msse2', ], |
288 'xcode_settings': { | 286 'xcode_settings': { |
289 'OTHER_CFLAGS': [ '-msse2', ], | 287 'OTHER_CFLAGS': [ '-msse2', ], |
290 }, | 288 }, |
291 }], | 289 }], |
292 ], | 290 ], |
293 }, | 291 }, |
294 ], | 292 ], |
295 }], | 293 }], |
296 ['build_with_neon==1', { | 294 ['build_with_neon==1', { |
297 'targets': [{ | 295 'targets': [{ |
298 'target_name': 'audio_processing_neon', | 296 'target_name': 'audio_processing_neon', |
299 'type': 'static_library', | 297 'type': 'static_library', |
300 'includes': ['../../build/arm_neon.gypi',], | 298 'includes': ['../../build/arm_neon.gypi',], |
301 'dependencies': [ | 299 'dependencies': [ |
302 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 300 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
303 ], | 301 ], |
304 'sources': [ | 302 'sources': [ |
305 'aec/aec_core_neon.cc', | 303 'aec/aec_core_neon.cc', |
306 'aec/aec_rdft_neon.cc', | 304 'aec/aec_rdft_neon.cc', |
307 'aecm/aecm_core_neon.cc', | 305 'aecm/aecm_core_neon.cc', |
308 'ns/nsx_core_neon.c', | 306 'ns/nsx_core_neon.c', |
309 ], | 307 ], |
310 'conditions': [ | 308 'conditions': [ |
311 ['aec_debug_dump==1', { | 309 ['apm_debug_dump==1', { |
312 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], | 310 'defines': ['WEBRTC_APM_DEBUG_DUMP=1',], |
313 }], | 311 }], |
314 ['aec_debug_dump==0', { | 312 ['apm_debug_dump==0', { |
315 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], | 313 'defines': ['WEBRTC_APM_DEBUG_DUMP=0',], |
316 }], | 314 }], |
317 ], | 315 ], |
318 }], | 316 }], |
319 }], | 317 }], |
320 ], | 318 ], |
321 } | 319 } |
OLD | NEW |