Chromium Code Reviews| Index: pylib/gyp/msvs_emulation.py |
| diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py |
| index 6b5dfc2180f474a48723437e3b57a448e6104eab..866bc1643317ee87aa7d4149672cae30730d4fa5 100644 |
| --- a/pylib/gyp/msvs_emulation.py |
| +++ b/pylib/gyp/msvs_emulation.py |
| @@ -345,6 +345,15 @@ class MsvsSettings(object): |
| else: |
| return None |
| + def GetAsmflags(self, config): |
| + """Returns the flags that need to be added to .asm compilations.""" |
|
wtc
2014/04/09 03:41:08
".asm compilations" is not really accurate because
scottmg
2014/04/09 03:44:59
"...added to ml invocations."?
wtc
2014/04/10 02:42:00
Done.
|
| + config = self._TargetConfig(config) |
| + asmflags = [] |
| + safeseh = self._Setting(('MASM', 'UseSafeExceptionHandlers'), config) |
| + if safeseh == 'true': |
| + asmflags.append('/safeseh') |
| + return asmflags |
| + |
| def GetCflags(self, config): |
| """Returns the flags that need to be added to .c and .cc compilations.""" |
| config = self._TargetConfig(config) |