| 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_safeseh_default', | 8 'target_name': 'test_safeseh_default', |
| 9 'type': 'executable', | 9 'type': 'executable', |
| 10 'msvs_settings': { | 10 'msvs_settings': { |
| 11 # By default, msvs passes /SAFESEH for Link, but not for MASM. In | |
| 12 # order for test_safeseh_default to link successfully, we need to | |
| 13 # explicitly specify /SAFESEH for MASM. | |
| 14 'MASM': { | |
| 15 'UseSafeExceptionHandlers': 'true', | |
| 16 }, | |
| 17 }, | 11 }, |
| 18 'sources': [ | 12 'sources': [ |
| 19 'safeseh_hello.cc', | 13 'safeseh_hello.cc', |
| 20 'safeseh_zero.asm', | 14 'safeseh_zero.asm', |
| 21 ], | 15 ], |
| 22 }, | 16 }, |
| 23 { | 17 { |
| 24 'target_name': 'test_safeseh_no', | 18 'target_name': 'test_safeseh_no', |
| 25 'type': 'executable', | 19 'type': 'executable', |
| 26 'msvs_settings': { | 20 'msvs_settings': { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 44 'UseSafeExceptionHandlers': 'true', | 38 'UseSafeExceptionHandlers': 'true', |
| 45 }, | 39 }, |
| 46 }, | 40 }, |
| 47 'sources': [ | 41 'sources': [ |
| 48 'safeseh_hello.cc', | 42 'safeseh_hello.cc', |
| 49 'safeseh_zero.asm', | 43 'safeseh_zero.asm', |
| 50 ], | 44 ], |
| 51 }, | 45 }, |
| 52 ] | 46 ] |
| 53 } | 47 } |
| OLD | NEW |