Index: webrtc/modules/audio_processing/audio_processing.gypi |
diff --git a/webrtc/modules/audio_processing/audio_processing.gypi b/webrtc/modules/audio_processing/audio_processing.gypi |
index 8eb277503faf1deef3379bc38c93f18c3e0fcb3b..1f234b96642045d2ad306cfff77a75f35a8f230d 100644 |
--- a/webrtc/modules/audio_processing/audio_processing.gypi |
+++ b/webrtc/modules/audio_processing/audio_processing.gypi |
@@ -182,7 +182,7 @@ |
['target_arch=="ia32" or target_arch=="x64"', { |
'dependencies': ['audio_processing_sse2',], |
}], |
- ['(target_arch=="arm" and arm_version>=7) or target_arch=="arm64"', { |
+ ['build_with_neon==1', { |
'dependencies': ['audio_processing_neon',], |
}], |
['target_arch=="mipsel" and mips_arch_variant!="r6"', { |
@@ -245,7 +245,7 @@ |
}, |
], |
}], |
- ['(target_arch=="arm" and arm_version>=7) or target_arch=="arm64"', { |
+ ['build_with_neon==1', { |
'targets': [{ |
'target_name': 'audio_processing_neon', |
'type': 'static_library', |
@@ -259,15 +259,6 @@ |
'aecm/aecm_core_neon.c', |
'ns/nsx_core_neon.c', |
], |
- 'conditions': [ |
- # Disable LTO in audio_processing_neon target due to compiler bug |
- ['use_lto==1', { |
- 'cflags!': [ |
- '-flto', |
- '-ffat-lto-objects', |
- ], |
- }], |
- ], |
}], |
}], |
], |