Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: third_party/libwebp/libwebp.gyp

Issue 1657113002: libwebp: use -O2 on arm targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relocate gn config manipulation Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libwebp/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « third_party/libwebp/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698