Temporary revert of r101474, will re-land tomorrow with a change to disable 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: http://src.chromium.org/svn/trunk/src/build@101836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
joi@chromium.org 2011-09-19 21:29:33 +00:00
Родитель 1724c47105
Коммит a22b81862a
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -7,7 +7,9 @@
{
'conditions': [
['OS=="win"', {
# Restricted to VS 2010 until GYP also supports suppressing
# precompiled headers on .c files in VS 2008.
['OS=="win" and (MSVS_VERSION=="2010" or MSVS_VERSION=="2010e")', {
'target_defaults': {
'msvs_precompiled_header': '<(DEPTH)/build/precompile.h',
'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',