forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use precompiled headers on Windows only when a flag is set.
I would have preferred if precompiled headers could be enabled by default. The motivation for this change is primarily that Visual Studio does the wrong thing on preprocessor flag changes - instead of rebuilding precompiled headers, it errors out on any file that uses them, saying that the precompiled header was built with different flags! This causes a world of hurt on our infrastructure stuff, particularly on trybots as they may be jumping back and forth between revisions before and after a flag change. Prior to this change, only Debug builds used precompiled headers and Release builds did not. The reason Release builds did not was that official builds were running out of memory with precompiled headers enabled. The distinction of Debug vs. Release is no longer necessary after the flag is added, so removing that extra bit of complexity from the .gyp files. BUG=none TEST=it builds Review URL: http://codereview.chromium.org/8041022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102839 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
joi@chromium.org
committed
Sep 27, 2011
1 parent
9afb541
commit d5cf9fb
Showing
3 changed files
with
18 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters