| 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 }, |
| 11 }, | 17 }, |
| 12 'sources': [ | 18 'sources': [ |
| 13 'safeseh_hello.cc', | 19 'safeseh_hello.cc', |
| 14 'safeseh_zero.asm', | 20 'safeseh_zero.asm', |
| 15 ], | 21 ], |
| 16 }, | 22 }, |
| 17 { | 23 { |
| 18 'target_name': 'test_safeseh_no', | 24 'target_name': 'test_safeseh_no', |
| 19 'type': 'executable', | 25 'type': 'executable', |
| 20 'msvs_settings': { | 26 'msvs_settings': { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 'UseSafeExceptionHandlers': 'true', | 44 'UseSafeExceptionHandlers': 'true', |
| 39 }, | 45 }, |
| 40 }, | 46 }, |
| 41 'sources': [ | 47 'sources': [ |
| 42 'safeseh_hello.cc', | 48 'safeseh_hello.cc', |
| 43 'safeseh_zero.asm', | 49 'safeseh_zero.asm', |
| 44 ], | 50 ], |
| 45 }, | 51 }, |
| 46 ] | 52 ] |
| 47 } | 53 } |
| OLD | NEW |