| OLD | NEW |
| 1 # Copyright (c) 2014 Google Inc. All rights reserved. | 1 # Copyright (c) 2014 Google Inc. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'test_cdecl', | 8 'target_name': 'test_cdecl', |
| 9 'type': 'loadable_module', | 9 'type': 'loadable_module', |
| 10 'msvs_settings': { | 10 'msvs_settings': { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 'msvs_settings': { | 36 'msvs_settings': { |
| 37 'VCCLCompilerTool': { | 37 'VCCLCompilerTool': { |
| 38 'CallingConvention': 2, | 38 'CallingConvention': 2, |
| 39 }, | 39 }, |
| 40 }, | 40 }, |
| 41 'sources': [ | 41 'sources': [ |
| 42 'calling-convention.cc', | 42 'calling-convention.cc', |
| 43 'calling-convention-stdcall.def', | 43 'calling-convention-stdcall.def', |
| 44 ], | 44 ], |
| 45 }, | 45 }, |
| 46 ] | 46 ], |
| 47 'conditions': [ |
| 48 ['MSVS_VERSION[0:4]>="2013"', { |
| 49 'targets': [ |
| 50 { |
| 51 'target_name': 'test_vectorcall', |
| 52 'type': 'loadable_module', |
| 53 'msvs_settings': { |
| 54 'VCCLCompilerTool': { |
| 55 'CallingConvention': 3, |
| 56 }, |
| 57 }, |
| 58 'sources': [ |
| 59 'calling-convention.cc', |
| 60 'calling-convention-vectorcall.def', |
| 61 ], |
| 62 }, |
| 63 ], |
| 64 }], |
| 65 ], |
| 47 } | 66 } |
| OLD | NEW |