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

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: Fix comment. 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
Index: build/win_precompile.gypi
diff --git a/build/win_precompile.gypi b/build/win_precompile.gypi
index 592e59f2219c132b1567852d276e1d3a7d841363..9a0b006cd1f90a305d59004f2562f8023864fc63 100644
--- a/build/win_precompile.gypi
+++ b/build/win_precompile.gypi
@@ -9,18 +9,10 @@
{
'conditions': [
- ['OS=="win"', {
+ ['OS=="win" and win_use_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'],
}
}],
« build/common.gypi ('K') | « build/common.gypi ('k') | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698