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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Include this file to make targets in your .gyp use the default 5 # Include this file to make targets in your .gyp use the default
6 # precompiled header on Windows, in debug builds only as the official 6 # precompiled header on Windows, in debug builds only as the official
7 # builders blow up (out of memory) if precompiled headers are used for 7 # builders blow up (out of memory) if precompiled headers are used for
8 # release builds. 8 # release builds.
9 9
10 { 10 {
11 'conditions': [ 11 'conditions': [
12 ['OS=="win"', { 12 ['OS=="win" and win_use_pch==1', {
13 'target_defaults': { 13 'target_defaults': {
14 'configurations': { 14 'msvs_precompiled_header': '<(DEPTH)/build/precompile.h',
15 'Debug': { 15 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
16 'msvs_precompiled_header': '<(DEPTH)/build/precompile.h',
17 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
18 },
19 },
20
21 # Sources can't be specified inside the 'Debug'
22 # configuration. Since precompile.cc only contains
23 # comments, it won't have any effect for 'Release' builds.
24 'sources': ['<(DEPTH)/build/precompile.cc'], 16 'sources': ['<(DEPTH)/build/precompile.cc'],
25 } 17 }
26 }], 18 }],
27 ], 19 ],
28 } 20 }
OLDNEW
« 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