Chromium Code Reviews| Index: pylib/gyp/msvs_emulation.py |
| diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py |
| index 29233628fa7016744fcd1c2e38e8ef6c8fe263a7..395696c69b48401b450630a986c436d8611eb97a 100644 |
| --- a/pylib/gyp/msvs_emulation.py |
| +++ b/pylib/gyp/msvs_emulation.py |
| @@ -361,6 +361,9 @@ class MsvsSettings(object): |
| cl('AdditionalOptions', prefix='') |
| cflags.extend(['/FI' + f for f in self._Setting( |
| ('VCCLCompilerTool', 'ForcedIncludeFiles'), config, default=[])]) |
| + if self.vs_version.short_name == '2013' or self.vs_version == '2013e': |
| + # New flag required in 2013 to maintain previous PDB behavior. |
|
Nico
2013/09/12 17:23:21
What's the new behavior do?
|
| + cflags.append('/FS') |
| # ninja handles parallelism by itself, don't have the compiler do it too. |
| cflags = filter(lambda x: not x.startswith('/MP'), cflags) |
| return cflags |