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

Side by Side Diff: test/chained-rules/chained-rules.gyp

Issue 10381103: ninja: rules chained only by output of first one failing Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: exclude make Created 8 years, 7 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/chained-rules/action.input ('k') | test/chained-rules/copyfile.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
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 'targets': [
7 {
8 'target_name': 'chained_rules',
9 'type': 'none',
10 'sources': [
11 'input.wxs',
12 ],
13 'outputs': [
14 '<(PRODUCT_DIR)/input.msi',
15 ],
16 'rules': [
17 {
18 'rule_name': 'candle',
19 'extension': 'wxs',
20 'outputs': [
21 '<(INTERMEDIATE_DIR)/input.wixobj',
22 ],
23 'process_outputs_as_sources': 1,
24 'msvs_cygwin_shell': 0,
25 'action': [
26 'python', 'copyfile.py',
27 '<(RULE_INPUT_PATH)',
28 '<@(_outputs)'
29 ],
30 'message': 'Generating <@(_outputs)',
31 },
32 {
33 'rule_name': 'light',
34 'extension': 'wixobj',
35 'outputs': [
36 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
37 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb',
38 ],
39 'msvs_cygwin_shell': 0,
40 'action': [
41 'python', 'copyfile.py',
42 '<(RULE_INPUT_PATH)',
43 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi'
44 ],
45 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
46 },
47 ],
48 },
49 {
50 'target_name': 'chain_action_to_rule',
51 'type': 'none',
52 'sources': [
53 'input.wxs',
54 ],
55 'outputs': [
56 '<(PRODUCT_DIR)/out.final',
57 ],
58 'actions': [
59 {
60 'msvs_cygwin_shell': 0,
61 'action_name': 'copy_action',
62 'inputs': [
63 'action.input',
64 ],
65 'outputs': [
66 'action.output',
67 ],
68 'action': [
69 'python', 'copyfile.py',
70 'action.input',
71 '<(_outputs)',
72 ],
73 'process_outputs_as_sources': 1,
74 },
75 ],
76 'rules': [
77 {
78 'rule_name': 'output_to_final',
79 'extension': 'output',
80 'outputs': [
81 '<(PRODUCT_DIR)/out.final',
82 ],
83 'msvs_cygwin_shell': 0,
84 'action': [
85 'python', 'copyfile.py',
86 '<(RULE_INPUT_PATH)',
87 '<@(_outputs)'
88 ],
89 'message': 'Generating <@(_outputs)',
90 },
91 ],
92 },
93 {
94 'target_name': 'three_levels_circular_extensions',
95 'type': 'none',
96 'sources': [
97 'foo.msi',
98 ],
99 'outputs': [
100 '<(PRODUCT_DIR)/bar.msi',
101 ],
102 'rules': [
103 {
104 'rule_name': 'dark',
105 'extension': 'msi',
106 'outputs': [
107 'foo.wxs',
108 ],
109 'process_outputs_as_sources': 1,
110 'msvs_cygwin_shell': 0,
111 'action': [
112 'python', 'copyfile.py',
113 '<(RULE_INPUT_PATH)',
114 '<@(_outputs)'
115 ],
116 'message': 'Generating <@(_outputs)',
117 },
118 {
119 'rule_name': 'candle',
120 'extension': 'wxs',
121 'outputs': [
122 'foo.wixobj',
123 ],
124 'process_outputs_as_sources': 1,
125 'msvs_cygwin_shell': 0,
126 'action': [
127 'python', 'copyfile.py',
128 '<(RULE_INPUT_PATH)',
129 '<@(_outputs)'
130 ],
131 'message': 'Generating <@(_outputs)',
132 },
133 {
134 'rule_name': 'light',
135 'extension': 'wixobj',
136 'outputs': [
137 '<(PRODUCT_DIR)/bar.msi',
138 ],
139 'msvs_cygwin_shell': 0,
140 'action': [
141 'python', 'copyfile.py',
142 '<(RULE_INPUT_PATH)',
143 '<@(_outputs)'
144 ],
145 'message': 'Generating <@(_outputs)',
146 },
147 ],
148 },
149 ]
150 }
OLDNEW
« no previous file with comments | « test/chained-rules/action.input ('k') | test/chained-rules/copyfile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698