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

Unified Diff: build/win_precompile.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 | « build/common.gypi ('k') | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/win_precompile.gypi
diff --git a/build/win_precompile.gypi b/build/win_precompile.gypi
index 592e59f2219c132b1567852d276e1d3a7d841363..fb86076666eda4fbfa10a8066293737211bf39d1 100644
--- a/build/win_precompile.gypi
+++ b/build/win_precompile.gypi
@@ -9,18 +9,10 @@
{
'conditions': [
- ['OS=="win"', {
+ ['OS=="win" and chromium_win_pch==1', {
'target_defaults': {
- 'configurations': {
- 'Debug': {
- 'msvs_precompiled_header': '<(DEPTH)/build/precompile.h',
- 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
- },
- },
-
- # Sources can't be specified inside the 'Debug'
- # configuration. Since precompile.cc only contains
- # comments, it won't have any effect for 'Release' builds.
+ 'msvs_precompiled_header': '<(DEPTH)/build/precompile.h',
+ 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
'sources': ['<(DEPTH)/build/precompile.cc'],
}
}],
« no previous file with comments | « build/common.gypi ('k') | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698