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

Unified Diff: test/win/compiler-flags/compile-as-managed.gyp

Issue 1331463002: Make sure GYP supports compiling managed code. (Closed) Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Created 5 years, 3 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/compiler-flags/compile-as-managed.cc ('k') | test/win/gyptest-cl-compile-as-managed.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/compiler-flags/compile-as-managed.gyp
diff --git a/test/win/compiler-flags/compile-as-managed.gyp b/test/win/compiler-flags/compile-as-managed.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..3bacbbc135e63b4c910b05915f14041d0ecdd2f7
--- /dev/null
+++ b/test/win/compiler-flags/compile-as-managed.gyp
@@ -0,0 +1,29 @@
+# Copyright (c) 2015 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'test-compile-as-managed',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'CompileAsManaged': 'true',
+ 'ExceptionHandling': '0' # /clr is incompatible with /EHs
+ }
+ },
+ 'sources': ['compile-as-managed.cc'],
+ },
+ {
+ 'target_name': 'test-compile-as-unmanaged',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'CompileAsManaged': 'false',
+ }
+ },
+ 'sources': ['compile-as-managed.cc'],
+ },
+ ]
+}
« no previous file with comments | « test/win/compiler-flags/compile-as-managed.cc ('k') | test/win/gyptest-cl-compile-as-managed.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698