Index: third_party/libwebp/libwebp.gyp |
diff --git a/third_party/libwebp/libwebp.gyp b/third_party/libwebp/libwebp.gyp |
index 7a8533ad6cba0cc2bcf1d5a09a75ca6ead538217..a0acff1a61af2a663673450a39c9badcfd9b07e7 100644 |
--- a/third_party/libwebp/libwebp.gyp |
+++ b/third_party/libwebp/libwebp.gyp |
@@ -3,6 +3,14 @@ |
# found in the LICENSE file. |
{ |
+ 'target_defaults': { |
+ 'conditions': [ |
+ ['os_posix==1 and (target_arch=="arm" or target_arch=="arm64")', { |
+ 'cflags!': [ '-Os' ], |
+ 'cflags': [ '-O2' ], |
+ }], |
+ ], |
+ }, |
'targets': [ |
{ |
'target_name': 'libwebp_dec', |