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

Unified Diff: gyp/common_variables.gypi

Issue 1407043009: Default off LTCG for human builds. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | 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 c84a8e5ef1c5bcab72b1f7032c561ad81807eb1c..cc7e636426fe8dd61801ababe2b304a8c441dad2 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -145,6 +145,7 @@
'skia_shared_lib%': 0,
'skia_opencl%': 0,
'skia_force_distance_field_text%': 0,
+ 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEADLESS\', 0)")',
# These variables determine the default optimization level for different
# compilers.
@@ -222,7 +223,7 @@
'skia_gpu%': '<(skia_gpu)',
'skia_vulkan%': '<(skia_vulkan)',
'skia_win_exceptions%': 0,
- 'skia_win_ltcg%': 1,
+ 'skia_win_ltcg%': '<(skia_is_bot)',
'skia_osx_deployment_target%': '<(skia_osx_deployment_target)',
'skia_pdf%': '<(skia_pdf)',
'skia_pdf_generate_pdfa%': 0, # emit larger PDF/A-2b file
@@ -235,7 +236,7 @@
'skia_win_debuggers_path%': '<(skia_win_debuggers_path)',
'skia_disable_inlining%': 0,
'skia_moz2d%': 0,
- 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEADLESS\', 0)")',
+ 'skia_is_bot%': '<(skia_is_bot)',
'skia_egl%': '<(skia_egl)',
'skia_fast%': 0,
'skia_fast_flags': [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698