summaryrefslogtreecommitdiffstats
path: root/build/win_precompile.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Use precompiled headers on Windows only when a flag is set.joi@chromium.org2011-09-271-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Relanding precompiled header support for VS 2008, now enabled forjoi@chromium.org2011-09-201-10/+18
| | | | | | | | | | | | | | | | | Debug builds only as official builds were failing with out of memory errors. This is mostly a revert of http://crrev.com/101836 which was a revert of the original change, http://crrev.com/101474, except for a modification to build/win_precompile.gypi to only enable use of precompiled headers in the Debug configuration. BUG=none TEST=it builds Review URL: http://codereview.chromium.org/7977003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102029 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary revert of r101474, will re-land tomorrow with a change to disable ↵joi@chromium.org2011-09-191-1/+3
| | | | | | | | | | | | | | | | | | | | use of precompiled headers in Release builds as our Canary builds are failing with out of memory messages. Original change description: Switch on use of precompiled headers for VS 2008. The precompiled header brings in more definitions of abs() for the base/time_win.cc file, and a hint to the compiler was needed to let VS 2008 build the file correctly. On VS 2008 only, the mini_installer target did not link correctly with precompiled headers enabled so this change disables them for that project. BUG=none TEST=it builds (esp. on Windows), existing tests pass Review URL: http://codereview.chromium.org/7910002 TBR=laforge@chromium.org Review URL: http://codereview.chromium.org/7945017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101836 0039d316-1c4b-4281-b951-d872f2087c98
* Switch on use of precompiled headers for VS 2008.joi@chromium.org2011-09-161-3/+1
| | | | | | | | | | | | | The precompiled header brings in more definitions of abs() for the base/time_win.cc file, and a hint to the compiler was needed to let VS 2008 build the file correctly. On VS 2008 only, the mini_installer target did not link correctly with precompiled headers enabled so this change disables them for that project. BUG=none TEST=it builds (esp. on Windows), existing tests pass Review URL: http://codereview.chromium.org/7910002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101474 0039d316-1c4b-4281-b951-d872f2087c98
* Use precompiled headers for most large projects where the .gyp filejoi@chromium.org2011-09-071-0/+20
is not a third party file. On my machine, this speeds up a full recompile of the 'chrome' target in Debug mode by about 18%. BUG=none TEST=it builds, existing tests pass Review URL: http://codereview.chromium.org/7706011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99949 0039d316-1c4b-4281-b951-d872f2087c98