Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1264)

Unified Diff: test/win/linker-flags/safeseh.gyp

Issue 790213007: msvs/ninja win: Fix support for ImageHasSafeExceptionHandlers (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Enable safeseh test for msvs, add MASM support to msvs Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/win/gyptest-link-safeseh.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/linker-flags/safeseh.gyp
diff --git a/test/win/linker-flags/safeseh.gyp b/test/win/linker-flags/safeseh.gyp
index 61036200519e332cdf9a9ad296d5465f2bc177a5..c4ed068805dffefa7b98d45fca32d857ecbfaf7d 100644
--- a/test/win/linker-flags/safeseh.gyp
+++ b/test/win/linker-flags/safeseh.gyp
@@ -8,6 +8,12 @@
'target_name': 'test_safeseh_default',
'type': 'executable',
'msvs_settings': {
+ # By default, msvs passes /SAFESEH for Link, but not for MASM. In
+ # order for test_safeseh_default to link successfully, we need to
+ # explicitly specify /SAFESEH for MASM.
+ 'MASM': {
+ 'UseSafeExceptionHandlers': 'true',
+ },
},
'sources': [
'safeseh_hello.cc',
« no previous file with comments | « test/win/gyptest-link-safeseh.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698