| 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, |
| 12 }, | 14 }, |
| 13 'targets': [ | 15 'targets': [ |
| 14 { | 16 { |
| 15 'target_name': 'audio_processing', | 17 'target_name': 'audio_processing', |
| 16 'type': 'static_library', | 18 'type': 'static_library', |
| 17 'variables': { | 19 'variables': { |
| 18 # Outputs some low-level debug files. | 20 # Outputs some low-level debug files. |
| 19 'aec_debug_dump%': 0, | |
| 20 'agc_debug_dump%': 0, | 21 'agc_debug_dump%': 0, |
| 21 | 22 |
| 22 # Disables the usual mode where we trust the reported system delay | 23 # Disables the usual mode where we trust the reported system delay |
| 23 # values the AEC receives. The corresponding define is set appropriately | 24 # values the AEC receives. The corresponding define is set appropriately |
| 24 # in the code, but it can be force-enabled here for testing. | 25 # in the code, but it can be force-enabled here for testing. |
| 25 'aec_untrusted_delay_for_testing%': 0, | 26 'aec_untrusted_delay_for_testing%': 0, |
| 26 }, | 27 }, |
| 27 'dependencies': [ | 28 'dependencies': [ |
| 28 '<(webrtc_root)/base/base.gyp:rtc_base_approved', | 29 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 29 '<(webrtc_root)/common.gyp:webrtc_common', | 30 '<(webrtc_root)/common.gyp:webrtc_common', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 'gain_control_impl.h', | 85 'gain_control_impl.h', |
| 85 'high_pass_filter_impl.cc', | 86 'high_pass_filter_impl.cc', |
| 86 'high_pass_filter_impl.h', | 87 'high_pass_filter_impl.h', |
| 87 'include/audio_processing.h', | 88 'include/audio_processing.h', |
| 88 'intelligibility/intelligibility_enhancer.cc', | 89 'intelligibility/intelligibility_enhancer.cc', |
| 89 'intelligibility/intelligibility_enhancer.h', | 90 'intelligibility/intelligibility_enhancer.h', |
| 90 'intelligibility/intelligibility_utils.cc', | 91 'intelligibility/intelligibility_utils.cc', |
| 91 'intelligibility/intelligibility_utils.h', | 92 'intelligibility/intelligibility_utils.h', |
| 92 'level_estimator_impl.cc', | 93 'level_estimator_impl.cc', |
| 93 'level_estimator_impl.h', | 94 'level_estimator_impl.h', |
| 94 'logging/aec_logging.h', | 95 'logging/apm_data_dumper.cc', |
| 95 'logging/aec_logging_file_handling.cc', | 96 'logging/apm_data_dumper.h', |
| 96 'logging/aec_logging_file_handling.h', | |
| 97 'noise_suppression_impl.cc', | 97 'noise_suppression_impl.cc', |
| 98 'noise_suppression_impl.h', | 98 'noise_suppression_impl.h', |
| 99 'render_queue_item_verifier.h', | 99 'render_queue_item_verifier.h', |
| 100 'rms_level.cc', | 100 'rms_level.cc', |
| 101 'rms_level.h', | 101 'rms_level.h', |
| 102 'splitting_filter.cc', | 102 'splitting_filter.cc', |
| 103 'splitting_filter.h', | 103 'splitting_filter.h', |
| 104 'three_band_filter_bank.cc', | 104 'three_band_filter_bank.cc', |
| 105 'three_band_filter_bank.h', | 105 'three_band_filter_bank.h', |
| 106 'transient/common.h', | 106 'transient/common.h', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 'vad/vad_circular_buffer.cc', | 143 'vad/vad_circular_buffer.cc', |
| 144 'vad/vad_circular_buffer.h', | 144 'vad/vad_circular_buffer.h', |
| 145 'vad/voice_activity_detector.cc', | 145 'vad/voice_activity_detector.cc', |
| 146 'vad/voice_activity_detector.h', | 146 'vad/voice_activity_detector.h', |
| 147 'vad/voice_gmm_tables.h', | 147 'vad/voice_gmm_tables.h', |
| 148 'voice_detection_impl.cc', | 148 'voice_detection_impl.cc', |
| 149 'voice_detection_impl.h', | 149 'voice_detection_impl.h', |
| 150 ], | 150 ], |
| 151 'conditions': [ | 151 'conditions': [ |
| 152 ['aec_debug_dump==1', { | 152 ['aec_debug_dump==1', { |
| 153 'defines': ['WEBRTC_AEC_DEBUG_DUMP',], | 153 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], |
| 154 }, { |
| 155 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], |
| 154 }], | 156 }], |
| 155 ['aec_untrusted_delay_for_testing==1', { | 157 ['aec_untrusted_delay_for_testing==1', { |
| 156 'defines': ['WEBRTC_UNTRUSTED_DELAY',], | 158 'defines': ['WEBRTC_UNTRUSTED_DELAY',], |
| 157 }], | 159 }], |
| 158 ['agc_debug_dump==1', { | 160 ['agc_debug_dump==1', { |
| 159 'defines': ['WEBRTC_AGC_DEBUG_DUMP',], | 161 'defines': ['WEBRTC_AGC_DEBUG_DUMP',], |
| 160 }], | 162 }], |
| 161 ['enable_protobuf==1', { | 163 ['enable_protobuf==1', { |
| 162 'dependencies': ['audioproc_debug_proto'], | 164 'dependencies': ['audioproc_debug_proto'], |
| 163 'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'], | 165 'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'], |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 ['target_arch=="ia32" or target_arch=="x64"', { | 244 ['target_arch=="ia32" or target_arch=="x64"', { |
| 243 'targets': [ | 245 'targets': [ |
| 244 { | 246 { |
| 245 'target_name': 'audio_processing_sse2', | 247 'target_name': 'audio_processing_sse2', |
| 246 'type': 'static_library', | 248 'type': 'static_library', |
| 247 'sources': [ | 249 'sources': [ |
| 248 'aec/aec_core_sse2.cc', | 250 'aec/aec_core_sse2.cc', |
| 249 'aec/aec_rdft_sse2.cc', | 251 'aec/aec_rdft_sse2.cc', |
| 250 ], | 252 ], |
| 251 'conditions': [ | 253 'conditions': [ |
| 254 ['aec_debug_dump==1', { |
| 255 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], |
| 256 }, { |
| 257 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], |
| 258 }], |
| 252 ['os_posix==1', { | 259 ['os_posix==1', { |
| 253 'cflags': [ '-msse2', ], | 260 'cflags': [ '-msse2', ], |
| 254 'xcode_settings': { | 261 'xcode_settings': { |
| 255 'OTHER_CFLAGS': [ '-msse2', ], | 262 'OTHER_CFLAGS': [ '-msse2', ], |
| 256 }, | 263 }, |
| 257 }], | 264 }], |
| 258 ], | 265 ], |
| 259 }, | 266 }, |
| 260 ], | 267 ], |
| 261 }], | 268 }], |
| 262 ['build_with_neon==1', { | 269 ['build_with_neon==1', { |
| 263 'targets': [{ | 270 'targets': [{ |
| 264 'target_name': 'audio_processing_neon', | 271 'target_name': 'audio_processing_neon', |
| 265 'type': 'static_library', | 272 'type': 'static_library', |
| 266 'includes': ['../../build/arm_neon.gypi',], | 273 'includes': ['../../build/arm_neon.gypi',], |
| 267 'dependencies': [ | 274 'dependencies': [ |
| 268 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 275 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 269 ], | 276 ], |
| 270 'sources': [ | 277 'sources': [ |
| 271 'aec/aec_core_neon.cc', | 278 'aec/aec_core_neon.cc', |
| 272 'aec/aec_rdft_neon.cc', | 279 'aec/aec_rdft_neon.cc', |
| 273 'aecm/aecm_core_neon.cc', | 280 'aecm/aecm_core_neon.cc', |
| 274 'ns/nsx_core_neon.c', | 281 'ns/nsx_core_neon.c', |
| 275 ], | 282 ], |
| 283 'conditions': [ |
| 284 ['aec_debug_dump==1', { |
| 285 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], |
| 286 }], |
| 287 ['aec_debug_dump==0', { |
| 288 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], |
| 289 }], |
| 290 ], |
| 276 }], | 291 }], |
| 277 }], | 292 }], |
| 278 ], | 293 ], |
| 279 } | 294 } |
| OLD | NEW |