OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 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 { | |
6 'includes': [ | |
7 # We get "test_arg" via a .gypi file in order to test that the | |
8 # action gets rerun when the .gypi file changed even if the .gyp | |
9 # file does not change. | |
10 'arg-action.gypi', | |
11 ], | |
12 'targets': [ | |
13 { | |
14 'target_name': 'action_using_arg', | |
15 'type': 'none', | |
16 'msvs_cygwin_shell': 0, | |
17 'actions': [ | |
18 { | |
19 'action_name': 'action_using_arg', | |
20 # We have to have at least one input file to reproduce the | |
21 # problem in the unfixed version of Gyp. | |
22 'inputs': [ | |
23 'dummy-fixed-input.txt', | |
24 ], | |
25 'outputs': [ | |
26 '<(PRODUCT_DIR)/dest-file.txt', | |
27 ], | |
28 'action': [ | |
29 'python', 'write_file.py', '<@(_outputs)', '<(test_arg)', | |
30 ], | |
31 }, | |
32 ], | |
33 }, | |
34 ], | |
35 } | |
OLD | NEW |