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

Unified Diff: third_party/libpng/libpng.gyp

Issue 2119813003: Fix for png encoding performance regressions (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No need for inline flag on Win Created 4 years, 6 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
« third_party/libpng/BUILD.gn ('K') | « third_party/libpng/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/libpng/libpng.gyp
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index 3c42401baa89318fbe6fc7abf80284e1d8e50e85..c1015cabebecfa676a730ee35b37a0b40cb06b8f 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -51,6 +51,14 @@
4267, # TODO(jschuh): http://crbug.com/167187
4146, # Unary minus applied to unsigned type.
],
+ # This is a fix for png encoding performance regressions (crbug.com/619850).
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions': [
+ '/O2',
+ ],
+ },
+ },
'conditions': [
# Disable ARM optimizations on IOS. Can't find a way to get gyp to even try
# to compile the optimization files. This works fine on GN.
« third_party/libpng/BUILD.gn ('K') | « third_party/libpng/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698