OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 Google Inc. 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 # This is a test to make sure that <|(foo.txt a b c) generates |
| 6 # a pre-calculated file list at gyp time and returns foo.txt. |
| 7 # This feature is useful to work around limits in the number of arguments that |
| 8 # can be passed to rule/action. |
| 9 |
| 10 { |
| 11 'variables': { |
| 12 'names': [ |
| 13 'John', |
| 14 'Jacob', |
| 15 'Jingleheimer', |
| 16 'Schmidt', |
| 17 ], |
| 18 }, |
| 19 'targets': [ |
| 20 { |
| 21 'target_name': 'foo', |
| 22 'type': 'none', |
| 23 'variables': { |
| 24 'names_listfile': '<|(names.txt <@(names))', |
| 25 }, |
| 26 'actions': [ |
| 27 { |
| 28 'action_name': 'test_action', |
| 29 'msvs_cygwin_shell': 0, |
| 30 'inputs' : [ '<(names_listfile)' ], |
| 31 'outputs': [ 'dummy_foo' ], |
| 32 'action': [ |
| 33 'python', 'dummy.py', '<@(_outputs)', '<(names_listfile)', |
| 34 ], |
| 35 }, |
| 36 ], |
| 37 }, |
| 38 ], |
| 39 } |
| 40 |
OLD | NEW |