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

Side by Side Diff: test/win/vs-macros/targetext.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/win/gyptest-macro-targetpath.py ('k') | test/win/vs-macros/targetfilename.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 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_output_exe', 8 'target_name': 'test_targetext_executable',
9 'type': 'executable', 9 'type': 'executable',
10 'sources': ['hello.cc'],
10 'msvs_settings': { 11 'msvs_settings': {
11 'VCLinkerTool': { 12 'VCLinkerTool': {
12 'OutputFile': '$(OutDir)\\blorp.exe' 13 'OutputFile': '$(TargetDir)\\executable$(TargetExt)',
13 }, 14 },
14 }, 15 },
15 'sources': ['hello.cc'],
16 }, 16 },
17 { 17 {
18 'target_name': 'test_output_exe2', 18 'target_name': 'test_targetext_loadable_module',
19 'type': 'executable', 19 'type': 'loadable_module',
20 'sources': ['hello.cc'],
20 'msvs_settings': { 21 'msvs_settings': {
21 'VCLinkerTool': { 22 'VCLinkerTool': {
22 'OutputFile': '$(OutDir)\\subdir\\blorp.exe' 23 'OutputFile': '$(TargetDir)\\loadable_module$(TargetExt)',
23 }, 24 },
24 }, 25 },
25 'sources': ['hello.cc'],
26 }, 26 },
27 { 27 {
28 'target_name': 'test_output_dll', 28 'target_name': 'test_targetext_shared_library',
29 'type': 'shared_library', 29 'type': 'shared_library',
30 'sources': ['hello.cc'],
30 'msvs_settings': { 31 'msvs_settings': {
31 'VCLinkerTool': { 32 'VCLinkerTool': {
32 'OutputFile': '$(OutDir)\\blorp.dll' 33 'OutputFile': '$(TargetDir)\\shared_library$(TargetExt)',
33 }, 34 },
34 }, 35 },
35 'sources': ['hello.cc'],
36 }, 36 },
37 { 37 {
38 'target_name': 'test_output_lib', 38 'target_name': 'test_targetext_static_library',
39 'type': 'static_library', 39 'type': 'static_library',
40 'sources': ['hello.cc'],
40 'msvs_settings': { 41 'msvs_settings': {
41 'VCLibrarianTool': { 42 'VCLibrarianTool': {
42 'OutputFile': '$(OutDir)\\blorp.lib' 43 'OutputFile': '$(TargetDir)\\static_library$(TargetExt)',
43 }, 44 },
44 }, 45 },
45 'sources': ['hello.cc'],
46 }, 46 },
47 { 47 {
48 'target_name': 'test_output_lib2', 48 'target_name': 'test_targetext_product_extension',
49 'type': 'static_library', 49 'type': 'executable',
50 'sources': ['hello.cc'],
51 'product_extension': 'library',
50 'msvs_settings': { 52 'msvs_settings': {
51 'VCLibrarianTool': { 53 'VCLinkerTool': {
52 'OutputFile': '$(OutDir)\\subdir\\blorp.lib' 54 'OutputFile': '$(TargetDir)\\product_extension$(TargetExt)',
53 }, 55 },
54 }, 56 },
55 'sources': ['hello.cc'],
56 }, 57 },
57 ] 58 ]
58 } 59 }
OLDNEW
« no previous file with comments | « test/win/gyptest-macro-targetpath.py ('k') | test/win/vs-macros/targetfilename.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698