Skip to content

Commit

Permalink
build, tools, win: add .S files support to GYP
Browse files Browse the repository at this point in the history
Makes GYP properly handle .S files.

Fixes: nodejs/node-v8#89
  • Loading branch information
bzoz committed Nov 21, 2018
1 parent 69cc58d commit 160d2d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/gyp/pylib/gyp/generator/msvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2171,6 +2171,9 @@ def _MapFileToMsBuildSourceType(source, rule_dependencies,
elif ext == '.asm':
group = 'masm'
element = 'MASM'
elif ext == '.S':
group = 'masm'
element = 'MASM'
elif ext == '.idl':
group = 'midl'
element = 'Midl'
Expand Down

0 comments on commit 160d2d2

Please sign in to comment.