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

Unified Diff: build/common.gypi

Issue 8041022: Use precompiled headers on Windows only when a flag is set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change name of flag to match Mac flag. Created 9 years, 3 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 | build/win_precompile.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d58062d214bd25c33af009026fc44d6597878575..1ccd40773201539b1b29dc332a56784540260943 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -213,6 +213,13 @@
# For example, use_xi2_mt=2 means XI2.2 or above version is required.
'use_xi2_mt%': 0,
+ # Use of precompiled headers on Windows is off by default
+ # because of complications that it can cause with our
+ # infrastructure (trybots etc.). Enable by setting to 1 in
+ # ~/.gyp/include.gypi or via the GYP command line for ~20-25%
+ # faster builds.
+ 'chromium_win_pch%': 0,
+
'conditions': [
# TODO(epoger): Figure out how to set use_skia=1 for Mac outside of
# the 'conditions' clause. Initial attempts resulted in chromium and
@@ -336,6 +343,7 @@
'remoting%': '<(remoting)',
'use_threaded_compositing%': '<(use_threaded_compositing)',
'enable_webrtc%': '<(enable_webrtc)',
+ 'chromium_win_pch%': '<(chromium_win_pch)',
'p2p_apis%': '<(p2p_apis)',
'configuration_policy%': '<(configuration_policy)',
'safe_browsing%': '<(safe_browsing)',
@@ -630,7 +638,7 @@
],
# Enable to use system sqlite.
'use_system_sqlite%': '<(android_build_type)',
- # Enable to use system libjpeg.
+ # Enable to use system libjpeg.
'use_system_libjpeg%': '<(android_build_type)',
# Enable to use the system libexpat.
'use_system_libexpat%': '<(android_build_type)',
« no previous file with comments | « no previous file | build/win_precompile.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698