Index: third_party/libjpeg_turbo/libjpeg.gyp |
=================================================================== |
--- third_party/libjpeg_turbo/libjpeg.gyp (revision 144345) |
+++ third_party/libjpeg_turbo/libjpeg.gyp (working copy) |
@@ -155,10 +155,12 @@ |
'simd/jiss2red-64.asm', |
], |
}], |
- # The ARM SIMD implementation requires the Neon instruction set. |
+ # The ARM SIMD implementation can be used for devices that support |
+ # the NEON instruction set. This is done dynamically by probing CPU |
+ # features at runtime, so always compile it for ARMv7-A devices. |
[ 'target_arch=="arm"', { |
'conditions': [ |
- [ 'arm_neon==1', { |
+ [ 'armv7 == 1 or arm_neon == 1', { |
'sources': [ |
'simd/jsimd_arm.c', |
'simd/jsimd_arm_neon.S', |