Index: third_party/libpng/libpng.gyp |
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp |
index 7ce9b5ed7fc18806da1fc3d739520c6a1f54ea5f..7869992fbfd59ee3ca960ef2e8e1f4849c5eb7b4 100644 |
--- a/third_party/libpng/libpng.gyp |
+++ b/third_party/libpng/libpng.gyp |
@@ -70,7 +70,7 @@ |
}], |
# ARM optimizations |
- [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios"', { |
+ [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios" and arm_neon==1', { |
'defines': [ |
'PNG_ARM_NEON_OPT=2', |
'PNG_ARM_NEON_IMPLEMENTATION=1', |