OLD | NEW |
---|---|
1 # Copyright (c) 2011 Google Inc. All rights reserved. | 1 # Copyright (c) 2011 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 'variables': { | 6 'variables': { |
7 # Have a long string so that actions will exceed xp 512 character | 7 # Have a long string so that actions will exceed xp 512 character |
8 # command limit on xp. | 8 # command limit on xp. |
9 'long_string': | 9 'long_string': |
10 'abcdefghijklmnopqrstuvwxyz0123456789' | 10 'abcdefghijklmnopqrstuvwxyz0123456789' |
11 'abcdefghijklmnopqrstuvwxyz0123456789' | 11 'abcdefghijklmnopqrstuvwxyz0123456789' |
12 'abcdefghijklmnopqrstuvwxyz0123456789' | 12 'abcdefghijklmnopqrstuvwxyz0123456789' |
13 'abcdefghijklmnopqrstuvwxyz0123456789' | 13 'abcdefghijklmnopqrstuvwxyz0123456789' |
14 'abcdefghijklmnopqrstuvwxyz0123456789' | 14 'abcdefghijklmnopqrstuvwxyz0123456789' |
15 'abcdefghijklmnopqrstuvwxyz0123456789' | 15 'abcdefghijklmnopqrstuvwxyz0123456789' |
16 'abcdefghijklmnopqrstuvwxyz0123456789' | 16 'abcdefghijklmnopqrstuvwxyz0123456789' |
17 'abcdefghijklmnopqrstuvwxyz0123456789' | 17 'abcdefghijklmnopqrstuvwxyz0123456789' |
18 'abcdefghijklmnopqrstuvwxyz0123456789' | 18 'abcdefghijklmnopqrstuvwxyz0123456789' |
19 'abcdefghijklmnopqrstuvwxyz0123456789' | 19 'abcdefghijklmnopqrstuvwxyz0123456789' |
20 'abcdefghijklmnopqrstuvwxyz0123456789' | 20 'abcdefghijklmnopqrstuvwxyz0123456789' |
21 }, | 21 }, |
22 'targets': [ | 22 'targets': [ |
23 { | 23 { |
24 'target_name': 'multiple_action_target', | 24 'target_name': 'multiple_action_target', |
25 'type': 'none', | 25 'type': 'none', |
26 'actions': [ | 26 'actions': [ |
27 { | 27 { |
28 'action_name': 'action1', | 28 'action_name': 'action1', |
29 'inputs': [ | 29 'inputs': [ |
Nico
2016/07/29 22:22:06
why this change?
AWhetter
2016/11/05 23:59:50
I renamed copy.py to copyfile.py because
| |
30 'copy.py', | 30 'copyfile.py', |
31 'input.txt', | 31 'input.txt', |
32 ], | 32 ], |
33 'outputs': [ | 33 'outputs': [ |
34 'output1.txt', | 34 'output1.txt', |
35 ], | 35 ], |
36 'action': [ | 36 'action': [ |
37 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 37 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
38 ], | 38 ], |
39 # Allows the test to run without hermetic cygwin on windows. | 39 # Allows the test to run without hermetic cygwin on windows. |
40 'msvs_cygwin_shell': 0, | 40 'msvs_cygwin_shell': 0, |
41 }, | 41 }, |
42 { | 42 { |
43 'action_name': 'action2', | 43 'action_name': 'action2', |
44 'inputs': [ | 44 'inputs': [ |
45 'copy.py', | 45 'copyfile.py', |
46 'input.txt', | 46 'input.txt', |
47 ], | 47 ], |
48 'outputs': [ | 48 'outputs': [ |
49 'output2.txt', | 49 'output2.txt', |
50 ], | 50 ], |
51 'action': [ | 51 'action': [ |
52 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 52 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
53 ], | 53 ], |
54 # Allows the test to run without hermetic cygwin on windows. | 54 # Allows the test to run without hermetic cygwin on windows. |
55 'msvs_cygwin_shell': 0, | 55 'msvs_cygwin_shell': 0, |
56 }, | 56 }, |
57 { | 57 { |
58 'action_name': 'action3', | 58 'action_name': 'action3', |
59 'inputs': [ | 59 'inputs': [ |
60 'copy.py', | 60 'copyfile.py', |
61 'input.txt', | 61 'input.txt', |
62 ], | 62 ], |
63 'outputs': [ | 63 'outputs': [ |
64 'output3.txt', | 64 'output3.txt', |
65 ], | 65 ], |
66 'action': [ | 66 'action': [ |
67 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 67 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
68 ], | 68 ], |
69 # Allows the test to run without hermetic cygwin on windows. | 69 # Allows the test to run without hermetic cygwin on windows. |
70 'msvs_cygwin_shell': 0, | 70 'msvs_cygwin_shell': 0, |
71 }, | 71 }, |
72 { | 72 { |
73 'action_name': 'action4', | 73 'action_name': 'action4', |
74 'inputs': [ | 74 'inputs': [ |
75 'copy.py', | 75 'copyfile.py', |
76 'input.txt', | 76 'input.txt', |
77 ], | 77 ], |
78 'outputs': [ | 78 'outputs': [ |
79 'output4.txt', | 79 'output4.txt', |
80 ], | 80 ], |
81 'action': [ | 81 'action': [ |
82 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 82 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
83 ], | 83 ], |
84 # Allows the test to run without hermetic cygwin on windows. | 84 # Allows the test to run without hermetic cygwin on windows. |
85 'msvs_cygwin_shell': 0, | 85 'msvs_cygwin_shell': 0, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 }, | 161 }, |
162 ], | 162 ], |
163 }, | 163 }, |
164 { | 164 { |
165 'target_name': 'multiple_dependent_target', | 165 'target_name': 'multiple_dependent_target', |
166 'type': 'none', | 166 'type': 'none', |
167 'actions': [ | 167 'actions': [ |
168 { | 168 { |
169 'action_name': 'action1', | 169 'action_name': 'action1', |
170 'inputs': [ | 170 'inputs': [ |
171 'copy.py', | 171 'copyfile.py', |
172 'input.txt', | 172 'input.txt', |
173 ], | 173 ], |
174 'outputs': [ | 174 'outputs': [ |
175 'multi1.txt', | 175 'multi1.txt', |
176 ], | 176 ], |
177 'action': [ | 177 'action': [ |
178 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 178 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
179 ], | 179 ], |
180 # Allows the test to run without hermetic cygwin on windows. | 180 # Allows the test to run without hermetic cygwin on windows. |
181 'msvs_cygwin_shell': 0, | 181 'msvs_cygwin_shell': 0, |
182 }, | 182 }, |
183 { | 183 { |
184 'action_name': 'action2', | 184 'action_name': 'action2', |
185 'inputs': [ | 185 'inputs': [ |
186 'copy.py', | 186 'copyfile.py', |
187 'input.txt', | 187 'input.txt', |
188 ], | 188 ], |
189 'outputs': [ | 189 'outputs': [ |
190 'multi2.txt', | 190 'multi2.txt', |
191 ], | 191 ], |
192 'action': [ | 192 'action': [ |
193 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 193 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
194 ], | 194 ], |
195 # Allows the test to run without hermetic cygwin on windows. | 195 # Allows the test to run without hermetic cygwin on windows. |
196 'msvs_cygwin_shell': 0, | 196 'msvs_cygwin_shell': 0, |
197 }, | 197 }, |
198 ], | 198 ], |
199 'dependencies': [ | 199 'dependencies': [ |
200 'multiple_required_target', | 200 'multiple_required_target', |
201 ], | 201 ], |
202 }, | 202 }, |
203 { | 203 { |
204 'target_name': 'multiple_required_target', | 204 'target_name': 'multiple_required_target', |
205 'type': 'none', | 205 'type': 'none', |
206 'actions': [ | 206 'actions': [ |
207 { | 207 { |
208 'action_name': 'multi_dep', | 208 'action_name': 'multi_dep', |
209 'inputs': [ | 209 'inputs': [ |
210 'copy.py', | 210 'copyfile.py', |
211 'input.txt', | 211 'input.txt', |
212 ], | 212 ], |
213 'outputs': [ | 213 'outputs': [ |
214 'multi_dep.txt', | 214 'multi_dep.txt', |
215 ], | 215 ], |
216 'process_outputs_as_sources': 1, | 216 'process_outputs_as_sources': 1, |
217 'action': [ | 217 'action': [ |
218 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', | 218 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
219 ], | 219 ], |
220 # Allows the test to run without hermetic cygwin on windows. | 220 # Allows the test to run without hermetic cygwin on windows. |
221 'msvs_cygwin_shell': 0, | 221 'msvs_cygwin_shell': 0, |
222 }, | 222 }, |
223 ], | 223 ], |
224 }, | 224 }, |
225 ], | 225 ], |
226 } | 226 } |
OLD | NEW |