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

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

Issue 1845943002: Enabling /ZW (CompileAsWinRT) option for msvs (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Created 4 years, 9 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
Index: test/win/compiler-flags/compile-as-winrt.gyp
diff --git a/test/win/compiler-flags/compile-as-winrt.gyp b/test/win/compiler-flags/compile-as-winrt.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..62a4784415799d78e035c3c2f0f42abe9d184f4a
--- /dev/null
+++ b/test/win/compiler-flags/compile-as-winrt.gyp
@@ -0,0 +1,19 @@
+{
scottmg 2016/04/04 22:05:17 Copyright header.
munyirik 2016/04/11 20:07:10 I'll add it. cl upload for some reason didn't mind
+ 'variables': {
+ 'msvs_windows_sdk_version': 'v10.0',
scottmg 2016/04/04 22:05:17 Does this need to be a variable and a target value
munyirik 2016/04/11 20:07:10 The variable isn't required.
+ },
+ 'targets': [
+ {
+ 'target_name': 'test-compile-as-winrt',
+ 'type': 'executable',
+ 'msvs_windows_sdk_version': 'v10.0',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'AdditionalUsingDirectories': ['$(VCInstallDir)vcpackages;$(WindowsSdkDir)UnionMetadata;%(AdditionalUsingDirectories)'],
+ 'CompileAsWinRT': 'true'
+ }
+ },
+ 'sources': ['compile-as-winrt.cc']
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698