OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2013 Bloomberg LP. All rights reserved. | |
scottmg
2013/04/16 22:48:00
I think copyright is supposed to be assigned to Go
| |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 # the test driver switches this flag when testing external builder | |
8 'use_external_builder%': 0, | |
9 }, | |
10 'targets': [ | |
11 { | |
12 'target_name': 'external', | |
13 'type': 'executable', | |
14 'sources': [ | |
15 'hello.cpp', | |
16 'hello.z', | |
17 ], | |
18 'rules': [ | |
19 { | |
20 'rule_name': 'test_rule', | |
21 'extension': 'z', | |
22 'outputs': [ | |
23 'msbuild_rule.out', | |
24 ], | |
25 'action': [ | |
26 'python', | |
27 'msbuild_rule.py', | |
28 '<(RULE_INPUT_PATH)', | |
29 'a', 'b', 'c', | |
30 ], | |
31 'msvs_cygwin_shell': 0, | |
32 }, | |
33 ], | |
34 'actions': [ | |
35 { | |
36 'action_name': 'test action', | |
37 'inputs': [ | |
38 'msbuild_action.py', | |
39 ], | |
40 'outputs': [ | |
41 'msbuild_action.out', | |
42 ], | |
43 'action': [ | |
44 'python', | |
45 '<@(_inputs)', | |
46 'x', 'y', 'z', | |
47 ], | |
48 'msvs_cygwin_shell': 0, | |
49 }, | |
50 ], | |
51 'conditions': [ | |
52 ['use_external_builder==1', { | |
53 'msvs_external_builder': 'test', | |
54 'msvs_external_builder_build_cmd': [ | |
55 'python', | |
56 'external_builder.py', | |
57 'build', '1', '2', '3', | |
58 ], | |
59 'msvs_external_builder_clean_cmd': [ | |
60 'python', | |
61 'external_builder.py', | |
62 'clean', '4', '5', | |
63 ], | |
64 }], | |
65 ], | |
66 }, | |
67 ], | |
68 } | |
OLD | NEW |