diff options
Diffstat (limited to 'chromium/third_party/webrtc/modules/audio_processing/audio_processing.gypi')
-rw-r--r-- | chromium/third_party/webrtc/modules/audio_processing/audio_processing.gypi | 50 |
1 files changed, 30 insertions, 20 deletions
diff --git a/chromium/third_party/webrtc/modules/audio_processing/audio_processing.gypi b/chromium/third_party/webrtc/modules/audio_processing/audio_processing.gypi index 336b4eee75f..b1d18c5b06a 100644 --- a/chromium/third_party/webrtc/modules/audio_processing/audio_processing.gypi +++ b/chromium/third_party/webrtc/modules/audio_processing/audio_processing.gypi @@ -12,6 +12,7 @@ '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', ], + 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_offsets', }, 'targets': [ { @@ -53,9 +54,9 @@ 'audio_buffer.h', 'audio_processing_impl.cc', 'audio_processing_impl.h', + 'common.h', 'echo_cancellation_impl.cc', 'echo_cancellation_impl.h', - 'echo_cancellation_impl_wrapper.h', 'echo_control_mobile_impl.cc', 'echo_control_mobile_impl.h', 'gain_control_impl.cc', @@ -67,10 +68,12 @@ 'level_estimator_impl.h', 'noise_suppression_impl.cc', 'noise_suppression_impl.h', - 'splitting_filter.cc', - 'splitting_filter.h', 'processing_component.cc', 'processing_component.h', + 'rms_level.cc', + 'rms_level.h', + 'typing_detection.cc', + 'typing_detection.h', 'utility/delay_estimator.c', 'utility/delay_estimator.h', 'utility/delay_estimator_internal.h', @@ -103,6 +106,17 @@ 'ns/nsx_core.h', 'ns/nsx_defines.h', ], + 'conditions': [ + ['target_arch=="mipsel"', { + 'sources': [ + 'ns/nsx_core_mips.c', + ], + }, { + 'sources': [ + 'ns/nsx_core_c.c', + ], + }], + ], }, { 'defines': ['WEBRTC_NS_FLOAT'], 'sources': [ @@ -124,6 +138,14 @@ 'sources': [ 'aecm/aecm_core_mips.c', ], + 'conditions': [ + ['mips_fpu==1', { + 'sources': [ + 'aec/aec_core_mips.c', + 'aec/aec_rdft_mips.c', + ], + }], + ], }, { 'sources': [ 'aecm/aecm_core_c.c', @@ -177,18 +199,22 @@ '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', ], 'sources': [ + 'aec/aec_core_neon.c', 'aecm/aecm_core_neon.c', 'ns/nsx_core_neon.c', ], 'conditions': [ ['OS=="android" or OS=="ios"', { 'dependencies': [ - 'audio_processing_offsets', + '<(gen_core_neon_offsets_gyp):*', ], 'sources': [ 'aecm/aecm_core_neon.S', 'ns/nsx_core_neon.S', ], + 'include_dirs': [ + '<(shared_generated_dir)', + ], 'sources!': [ 'aecm/aecm_core_neon.c', 'ns/nsx_core_neon.c', @@ -197,22 +223,6 @@ }], ], }], - 'conditions': [ - ['OS=="android" or OS=="ios"', { - 'targets': [{ - 'target_name': 'audio_processing_offsets', - 'type': 'none', - 'sources': [ - 'aecm/aecm_core_neon_offsets.c', - 'ns/nsx_core_neon_offsets.c', - ], - 'variables': { - 'asm_header_dir': 'asm_offsets', - }, - 'includes': ['../../build/generate_asm_header.gypi',], - }], - }], - ], }], ], } |