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

Unified Diff: test/win/vs-macros/targetpath.gyp

Issue 629543002: Add Ninja support for MSVS $(TargetExt), $(TargetFileName) and $(TargetPath) macros. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Reuse dictionary from MSVSUtil. Created 6 years, 2 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/vs-macros/targetfilename.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/vs-macros/targetpath.gyp
diff --git a/test/win/linker-flags/outputfile.gyp b/test/win/vs-macros/targetpath.gyp
similarity index 53%
copy from test/win/linker-flags/outputfile.gyp
copy to test/win/vs-macros/targetpath.gyp
index 1022ec2e20aabaa44dcdef83c8d22406d7c645e7..a8699ffb25341970cfd37e644f5c5859d79f9e70 100644
--- a/test/win/linker-flags/outputfile.gyp
+++ b/test/win/vs-macros/targetpath.gyp
@@ -1,58 +1,59 @@
-# Copyright (c) 2012 Google Inc. All rights reserved.
+# Copyright (c) 2014 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_output_exe',
+ 'target_name': 'test_targetpath_executable',
'type': 'executable',
+ 'sources': ['hello.cc'],
'msvs_settings': {
'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\blorp.exe'
+ 'OutputFile': '$(TargetPath)',
},
},
- 'sources': ['hello.cc'],
},
{
- 'target_name': 'test_output_exe2',
- 'type': 'executable',
+ 'target_name': 'test_targetpath_loadable_module',
+ 'type': 'loadable_module',
+ 'sources': ['hello.cc'],
'msvs_settings': {
'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\subdir\\blorp.exe'
+ 'OutputFile': '$(TargetPath)',
},
},
- 'sources': ['hello.cc'],
},
{
- 'target_name': 'test_output_dll',
- 'type': 'shared_library',
+ 'target_name': 'test_targetpath_shared_library',
+ 'type': 'loadable_module',
+ 'sources': ['hello.cc'],
'msvs_settings': {
'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\blorp.dll'
+ 'OutputFile': '$(TargetPath)',
},
},
- 'sources': ['hello.cc'],
},
{
- 'target_name': 'test_output_lib',
+ 'target_name': 'test_targetpath_static_library',
'type': 'static_library',
+ 'sources': ['hello.cc'],
'msvs_settings': {
'VCLibrarianTool': {
- 'OutputFile': '$(OutDir)\\blorp.lib'
+ 'OutputFile': '$(TargetPath)',
},
},
- 'sources': ['hello.cc'],
},
{
- 'target_name': 'test_output_lib2',
- 'type': 'static_library',
+ 'target_name': 'test_targetpath_product_extension',
+ 'type': 'executable',
+ 'sources': ['hello.cc'],
+ 'product_extension': 'foo',
'msvs_settings': {
- 'VCLibrarianTool': {
- 'OutputFile': '$(OutDir)\\subdir\\blorp.lib'
+ 'VCLinkerTool': {
+ 'OutputFile': '$(TargetPath)',
},
},
- 'sources': ['hello.cc'],
},
]
}
« no previous file with comments | « test/win/vs-macros/targetfilename.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698