Index: third_party/libwebp/libwebp.gyp |
diff --git a/third_party/libwebp/libwebp.gyp b/third_party/libwebp/libwebp.gyp |
index 4fb6175d8cf24ee149f02a59c0cf8a3a517ee5c6..8fd20a0ba5fac3a3139478af86f72eeb917be702 100644 |
--- a/third_party/libwebp/libwebp.gyp |
+++ b/third_party/libwebp/libwebp.gyp |
@@ -61,7 +61,7 @@ |
{ |
'target_name': 'libwebp_dsp_neon', |
'conditions': [ |
- ['armv7 == 1', { |
+ ['target_arch == "arm" and arm_version >= 7', { |
'type': 'static_library', |
'include_dirs': ['.'], |
'sources': [ |
@@ -72,7 +72,7 @@ |
# behavior similar to *.c.neon in an Android.mk |
'cflags!': [ '-mfpu=vfpv3-d16' ], |
'cflags': [ '-mfpu=neon' ], |
- },{ # "armv7 != 1" |
+ },{ # "target_arch != "arm" or arm_version < 7" |
'type': 'none', |
}], |
['order_profiling != 0', { |