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' |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 ], | 154 ], |
155 'process_outputs_as_sources': 1, | 155 'process_outputs_as_sources': 1, |
156 'action': [ | 156 'action': [ |
157 'python', 'filter.py', 'foo', 'ear', 'foo.c', '<@(_outputs)', | 157 'python', 'filter.py', 'foo', 'ear', 'foo.c', '<@(_outputs)', |
158 ], | 158 ], |
159 # Allows the test to run without hermetic cygwin on windows. | 159 # Allows the test to run without hermetic cygwin on windows. |
160 'msvs_cygwin_shell': 0, | 160 'msvs_cygwin_shell': 0, |
161 }, | 161 }, |
162 ], | 162 ], |
163 }, | 163 }, |
| 164 { |
| 165 'target_name': 'multiple_dependent_target', |
| 166 'type': 'none', |
| 167 'actions': [ |
| 168 { |
| 169 'action_name': 'action1', |
| 170 'inputs': [ |
| 171 'copy.py', |
| 172 'input.txt', |
| 173 ], |
| 174 'outputs': [ |
| 175 'multi1.txt', |
| 176 ], |
| 177 'action': [ |
| 178 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
| 179 ], |
| 180 # Allows the test to run without hermetic cygwin on windows. |
| 181 'msvs_cygwin_shell': 0, |
| 182 }, |
| 183 { |
| 184 'action_name': 'action2', |
| 185 'inputs': [ |
| 186 'copy.py', |
| 187 'input.txt', |
| 188 ], |
| 189 'outputs': [ |
| 190 'multi2.txt', |
| 191 ], |
| 192 'action': [ |
| 193 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
| 194 ], |
| 195 # Allows the test to run without hermetic cygwin on windows. |
| 196 'msvs_cygwin_shell': 0, |
| 197 }, |
| 198 ], |
| 199 'dependencies': [ |
| 200 'multiple_required_target', |
| 201 ], |
| 202 }, |
| 203 { |
| 204 'target_name': 'multiple_required_target', |
| 205 'type': 'none', |
| 206 'actions': [ |
| 207 { |
| 208 'action_name': 'multi_dep', |
| 209 'inputs': [ |
| 210 'copy.py', |
| 211 'input.txt', |
| 212 ], |
| 213 'outputs': [ |
| 214 'multi_dep.txt', |
| 215 ], |
| 216 'process_outputs_as_sources': 1, |
| 217 'action': [ |
| 218 'python', '<@(_inputs)', '<(_outputs)', '<(long_string)', |
| 219 ], |
| 220 # Allows the test to run without hermetic cygwin on windows. |
| 221 'msvs_cygwin_shell': 0, |
| 222 }, |
| 223 ], |
| 224 }, |
164 ], | 225 ], |
165 } | 226 } |
OLD | NEW |