Descriptionninja windows: Make pch work on VS2012, and simplify implementation
Previously, the chromium .gypi files injected a .cc file for PCH, which compiled "normally", and then the generator compiled it again (to a different .obj). Now, the build rule for the injected .cc has its ccflags modified to cause generation of the pch, which matches the msvs generator. Also get to remove the ugly separate 'cc_pch'/'cxx_pch' rules.
I believe this will also fix some very unreproducible build errors we were having (the linked bug) because the dependencies for the pch pdb is much simpler.
BUG=142362, 143646
Committed: https://code.google.com/p/gyp/source/detail?r=1565
Patch Set 1 #Patch Set 2 : #
Total comments: 11
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Messages
Total messages: 12 (0 generated)
|