GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build, tools, win: add .S files support to GYP · nodejs/node@32d93cd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/gyp/pylib/gyp/generator
    • msvs.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/gyp/pylib/gyp/generator/msvs.py‎

Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/generator/msvs.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,6 +2156,7 @@ def _MapFileToMsBuildSourceType(source, rule_dependencies,
21562156
A pair of (group this file should be part of, the label of element)
21572157
"""
21582158
_, ext = os.path.splitext(source)
2159+
ext = ext.lower()
21592160
if ext in extension_to_rule_name:
21602161
group = 'rule'
21612162
element = extension_to_rule_name[ext]
@@ -2168,7 +2169,7 @@ def _MapFileToMsBuildSourceType(source, rule_dependencies,
21682169
elif ext == '.rc':
21692170
group = 'resource'
21702171
element = 'ResourceCompile'
2171-
elif ext == '.asm':
2172+
elif ext in ['.s', '.asm']:
21722173
group = 'masm'
21732174
element = 'MASM'
21742175
elif ext == '.idl':

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.