Index: pylib/gyp/generator/ninja.py |
diff --git a/pylib/gyp/generator/ninja.py b/pylib/gyp/generator/ninja.py |
index fa6bd86ac3fd04718c84f30611f17eebacc239aa..53a12282b26377dea40391e9a99d83887cb30b55 100644 |
--- a/pylib/gyp/generator/ninja.py |
+++ b/pylib/gyp/generator/ninja.py |
@@ -797,10 +797,8 @@ class NinjaWriter: |
command = 'cc' |
elif ext == 's' and self.flavor != 'win': # Doesn't generate .o.d files. |
command = 'cc_s' |
- elif (self.flavor == 'win' and ext == 'asm' and |
- self.msvs_settings.GetArch(config_name) == 'x86' and |
- not self.msvs_settings.HasExplicitAsmRules(spec)): |
- # Asm files only get auto assembled for x86 (not x64). |
+ elif (self.flavor == 'win' and ext == 'asm' and not |
+ self.msvs_settings.HasExplicitAsmRules(spec)): |
command = 'asm' |
# Add the _asm suffix as msvs is capable of handling .cc and |
# .asm files of the same name without collision. |
@@ -1513,7 +1511,7 @@ def GenerateOutputForConfig(target_list, target_dicts, data, params, |
'asm', |
description='ASM $in', |
command=('%s gyp-win-tool asm-wrapper ' |
- '$arch $asm $defines $includes /c /Fo $out $in' % |
+ '$arch $defines $includes /c /Fo $out $in' % |
sys.executable)) |
if flavor != 'mac' and flavor != 'win': |