Index: test/win/compiler-flags/calling-convention.gyp |
diff --git a/test/win/compiler-flags/calling-convention.gyp b/test/win/compiler-flags/calling-convention.gyp |
index e2cdd772a46d71238f161f34dba53a163da85728..5069c552bceb85ec98f646d7fca3218a5cca5f2d 100644 |
--- a/test/win/compiler-flags/calling-convention.gyp |
+++ b/test/win/compiler-flags/calling-convention.gyp |
@@ -43,5 +43,24 @@ |
'calling-convention-stdcall.def', |
], |
}, |
- ] |
+ ], |
+ 'conditions': [ |
+ ['MSVS_VERSION[0:4]>="2013"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'test_vectorcall', |
+ 'type': 'loadable_module', |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'CallingConvention': 3, |
+ }, |
+ }, |
+ 'sources': [ |
+ 'calling-convention.cc', |
+ 'calling-convention-vectorcall.def', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
} |