Index: build/win_precompile.gypi |
=================================================================== |
--- build/win_precompile.gypi (revision 101835) |
+++ build/win_precompile.gypi (working copy) |
@@ -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', |