Chromium Code Reviews| 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': { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 'gain_control_impl.h', | 84 'gain_control_impl.h', |
| 85 'high_pass_filter_impl.cc', | 85 'high_pass_filter_impl.cc', |
| 86 'high_pass_filter_impl.h', | 86 'high_pass_filter_impl.h', |
| 87 'include/audio_processing.h', | 87 'include/audio_processing.h', |
| 88 'intelligibility/intelligibility_enhancer.cc', | 88 'intelligibility/intelligibility_enhancer.cc', |
| 89 'intelligibility/intelligibility_enhancer.h', | 89 'intelligibility/intelligibility_enhancer.h', |
| 90 'intelligibility/intelligibility_utils.cc', | 90 'intelligibility/intelligibility_utils.cc', |
| 91 'intelligibility/intelligibility_utils.h', | 91 'intelligibility/intelligibility_utils.h', |
| 92 'level_estimator_impl.cc', | 92 'level_estimator_impl.cc', |
| 93 'level_estimator_impl.h', | 93 'level_estimator_impl.h', |
| 94 'logging/aec_logging.h', | 94 'logging/apm_data_dumper.cc', |
| 95 'logging/aec_logging_file_handling.cc', | 95 'logging/apm_data_dumper.h', |
| 96 'logging/aec_logging_file_handling.h', | |
| 97 'noise_suppression_impl.cc', | 96 'noise_suppression_impl.cc', |
| 98 'noise_suppression_impl.h', | 97 'noise_suppression_impl.h', |
| 99 'render_queue_item_verifier.h', | 98 'render_queue_item_verifier.h', |
| 100 'rms_level.cc', | 99 'rms_level.cc', |
| 101 'rms_level.h', | 100 'rms_level.h', |
| 102 'splitting_filter.cc', | 101 'splitting_filter.cc', |
| 103 'splitting_filter.h', | 102 'splitting_filter.h', |
| 104 'three_band_filter_bank.cc', | 103 'three_band_filter_bank.cc', |
| 105 'three_band_filter_bank.h', | 104 'three_band_filter_bank.h', |
| 106 'transient/common.h', | 105 'transient/common.h', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 'vad/vad_circular_buffer.cc', | 142 'vad/vad_circular_buffer.cc', |
| 144 'vad/vad_circular_buffer.h', | 143 'vad/vad_circular_buffer.h', |
| 145 'vad/voice_activity_detector.cc', | 144 'vad/voice_activity_detector.cc', |
| 146 'vad/voice_activity_detector.h', | 145 'vad/voice_activity_detector.h', |
| 147 'vad/voice_gmm_tables.h', | 146 'vad/voice_gmm_tables.h', |
| 148 'voice_detection_impl.cc', | 147 'voice_detection_impl.cc', |
| 149 'voice_detection_impl.h', | 148 'voice_detection_impl.h', |
| 150 ], | 149 ], |
| 151 'conditions': [ | 150 'conditions': [ |
| 152 ['aec_debug_dump==1', { | 151 ['aec_debug_dump==1', { |
| 153 'defines': ['WEBRTC_AEC_DEBUG_DUMP',], | 152 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], |
| 153 }], | |
| 154 ['aec_debug_dump==0', { | |
| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 237 }, | 239 }, |
| 238 'includes': ['../../build/protoc.gypi',], | 240 'includes': ['../../build/protoc.gypi',], |
| 239 }, | 241 }, |
| 240 ], | 242 ], |
| 241 }], | 243 }], |
| 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', |
| 249 'variables': { | |
| 250 # Outputs some low-level debug files. | |
| 251 'aec_debug_dump%': 0, | |
|
kjellander_webrtc
2016/04/25 05:46:40
Can you try to move the declaration of 'aec_debug_
peah-webrtc
2016/04/25 10:58:27
Good suggestion!
It worked!
Done.
| |
| 252 }, | |
| 247 'sources': [ | 253 'sources': [ |
| 248 'aec/aec_core_sse2.cc', | 254 'aec/aec_core_sse2.cc', |
| 249 'aec/aec_rdft_sse2.cc', | 255 'aec/aec_rdft_sse2.cc', |
| 250 ], | 256 ], |
| 251 'conditions': [ | 257 'conditions': [ |
| 258 ['aec_debug_dump==1', { | |
| 259 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], | |
|
kjellander_webrtc
2016/04/25 05:46:40
+2 spaces indent (applies to rest of file as well)
peah-webrtc
2016/04/25 10:58:27
Done.
| |
| 260 }], | |
| 261 ['aec_debug_dump==0', { | |
|
kjellander_webrtc
2016/04/25 05:46:39
You can write this as:
['aec_debug_dump==1', {
'
peah-webrtc
2016/04/25 10:58:27
Great! It became much nicer with that way of doing
| |
| 262 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], | |
| 263 }], | |
| 252 ['os_posix==1', { | 264 ['os_posix==1', { |
| 253 'cflags': [ '-msse2', ], | 265 'cflags': [ '-msse2', ], |
| 254 'xcode_settings': { | 266 'xcode_settings': { |
| 255 'OTHER_CFLAGS': [ '-msse2', ], | 267 'OTHER_CFLAGS': [ '-msse2', ], |
| 256 }, | 268 }, |
| 257 }], | 269 }], |
| 258 ], | 270 ], |
| 259 }, | 271 }, |
| 260 ], | 272 ], |
| 261 }], | 273 }], |
| 262 ['build_with_neon==1', { | 274 ['build_with_neon==1', { |
| 263 'targets': [{ | 275 'targets': [{ |
| 264 'target_name': 'audio_processing_neon', | 276 'target_name': 'audio_processing_neon', |
| 265 'type': 'static_library', | 277 'type': 'static_library', |
| 266 'includes': ['../../build/arm_neon.gypi',], | 278 'includes': ['../../build/arm_neon.gypi',], |
| 267 'dependencies': [ | 279 'dependencies': [ |
| 268 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 280 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 269 ], | 281 ], |
| 282 'variables': { | |
| 283 # Outputs some low-level debug files. | |
| 284 'aec_debug_dump%': 0, | |
| 285 }, | |
| 270 'sources': [ | 286 'sources': [ |
| 271 'aec/aec_core_neon.cc', | 287 'aec/aec_core_neon.cc', |
| 272 'aec/aec_rdft_neon.cc', | 288 'aec/aec_rdft_neon.cc', |
| 273 'aecm/aecm_core_neon.cc', | 289 'aecm/aecm_core_neon.cc', |
| 274 'ns/nsx_core_neon.c', | 290 'ns/nsx_core_neon.c', |
| 275 ], | 291 ], |
| 292 'conditions': [ | |
| 293 ['aec_debug_dump==1', { | |
| 294 'defines': ['WEBRTC_AEC_DEBUG_DUMP=1',], | |
| 295 }], | |
|
kjellander_webrtc
2016/04/25 05:46:40
Use 'else' clause instead.
peah-webrtc
2016/04/25 10:58:27
Done.
| |
| 296 ['aec_debug_dump==0', { | |
| 297 'defines': ['WEBRTC_AEC_DEBUG_DUMP=0',], | |
| 298 }], | |
| 299 ], | |
| 276 }], | 300 }], |
| 277 }], | 301 }], |
| 278 ], | 302 ], |
| 279 } | 303 } |
| OLD | NEW |