OLD | NEW |
| 1 # Copyright (c) 2009 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 |
1 { | 5 { |
2 'targets': [ | 6 'targets': [ |
3 { | 7 { |
4 'target_name': 'files', | 8 'target_name': 'files', |
5 'type': 'none', | 9 'type': 'none', |
6 'msvs_cygwin_shell': 0, | 10 'msvs_cygwin_shell': 0, |
7 'sources': [ | 11 'sources': [ |
8 'file1.in', | 12 'file1.in', |
9 'file2.in', | 13 'file2.in', |
10 ], | 14 ], |
11 'rules': [ | 15 'rules': [ |
12 { | 16 { |
13 'rule_name': 'copy_file', | 17 'rule_name': 'copy_file', |
14 'extension': 'in', | 18 'extension': 'in', |
15 'inputs': [ | 19 'inputs': [ |
16 '../copy-file.py', | 20 '../copy-file.py', |
17 ], | 21 ], |
18 'outputs': [ | 22 'outputs': [ |
19 '<(RULE_INPUT_ROOT).out', | 23 '<(RULE_INPUT_ROOT).out', |
20 ], | 24 ], |
21 'action': [ | 25 'action': [ |
22 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', | 26 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', |
23 ], | 27 ], |
24 'process_outputs_as_sources': 1, | 28 'process_outputs_as_sources': 1, |
25 }, | 29 }, |
26 ], | 30 ], |
27 }, | 31 }, |
28 ], | 32 ], |
29 } | 33 } |
OLD | NEW |