diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi index 366e7e9fe..6c3cc7b18 100644 --- a/webrtc/build/common.gypi +++ b/webrtc/build/common.gypi @@ -110,7 +110,6 @@ # Define MIPS architecture variant, MIPS DSP variant and MIPS FPU # This may be subject to change in accordance to Chromium's MIPS flags - 'mips_arch_variant%': 'r1', 'mips_dsp_rev%': 0, 'mips_fpu%' : 1, 'enable_android_opensl%': 1, @@ -274,7 +273,7 @@ }], ], }], - ['target_arch=="mipsel" and mips_arch_variant!="r6"', { + ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', { 'defines': [ 'MIPS32_LE', ], diff --git a/webrtc/common_audio/common_audio.gyp b/webrtc/common_audio/common_audio.gyp index 8f96674fa..baa0d6166 100644 --- a/webrtc/common_audio/common_audio.gyp +++ b/webrtc/common_audio/common_audio.gyp @@ -140,7 +140,7 @@ }], ], # conditions }], - ['target_arch=="mipsel" and mips_arch_variant!="r6"', { + ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', { 'sources': [ 'signal_processing/include/spl_inl_mips.h', 'signal_processing/complex_bit_reverse_mips.c', diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.gypi b/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.gypi index 2a36309fd..54ff9df16 100644 --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.gypi +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.gypi @@ -87,7 +87,7 @@ 'pitch_filter_c.c', ], }], - ['target_arch=="mipsel" and mips_arch_variant!="r6"', { + ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', { 'sources': [ 'entropy_coding_mips.c', 'filters_mips.c', diff --git a/webrtc/modules/audio_processing/audio_processing.gypi b/webrtc/modules/audio_processing/audio_processing.gypi index 89d0ffc33..3ac87b81e 100644 --- a/webrtc/modules/audio_processing/audio_processing.gypi +++ b/webrtc/modules/audio_processing/audio_processing.gypi @@ -114,7 +114,7 @@ 'ns/nsx_defines.h', ], 'conditions': [ - ['target_arch=="mipsel" and mips_arch_variant!="r6"', { + ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', { 'sources': [ 'ns/nsx_core_mips.c', ], @@ -141,7 +141,7 @@ ['(target_arch=="arm" and arm_version==7) or target_arch=="armv7"', { 'dependencies': ['audio_processing_neon',], }], - ['target_arch=="mipsel" and mips_arch_variant!="r6"', { + ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', { 'sources': [ 'aecm/aecm_core_mips.c', ],