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

Unified Diff: gyp/common_variables.gypi

Issue 1036533003: Add a go-fast button to Skia GYP configs. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 9 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 | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_variables.gypi
diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi
index 60dcccc1a9ee674e77a7471d31edb0b49ccb4529..1031b52a1da107390dc22eca2173662b3ff3f4ed 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -239,6 +239,14 @@
'skia_moz2d%': 0,
'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEADLESS\', 0)")',
'skia_egl%': '<(skia_egl)',
+ 'skia_fast%': 0,
+ 'skia_fast_flags': [
+ '-O3', # Even for Debug builds.
+ '-march=native', # Use all features of and optimize for THIS machine.
+ '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts a push/pop.
+ '-ffast-math', # Optimize float math even when it breaks IEEE compliance.
+ #'-flto' # Enable link-time optimization.
+ ],
# These are referenced by our .gypi files that list files (e.g. core.gypi)
#
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698