From 160d2d23030728161ec6fa7815bdb3da422ed4f1 Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Wed, 21 Nov 2018 14:28:24 +0100 Subject: [PATCH] build, tools, win: add .S files support to GYP Makes GYP properly handle .S files. Fixes: https://github.com/nodejs/node-v8/issues/89 --- tools/gyp/pylib/gyp/generator/msvs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gyp/pylib/gyp/generator/msvs.py b/tools/gyp/pylib/gyp/generator/msvs.py index 8fe9e5af23dd38..ba585b1bfc5a10 100644 --- a/tools/gyp/pylib/gyp/generator/msvs.py +++ b/tools/gyp/pylib/gyp/generator/msvs.py @@ -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'