Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 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 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'files', |
| 9 | 'type': 'none', |
| 10 | 'msvs_cygwin_shell': 0, |
| 11 | 'sources': [ |
| 12 | 'file1.in0', |
| 13 | 'file2.in0', |
| 14 | 'file3.in1', |
| 15 | 'file4.in1', |
| 16 | ], |
| 17 | 'rules': [ |
| 18 | { |
| 19 | 'rule_name': 'copy_file_0', |
| 20 | 'extension': 'in0', |
| 21 | 'inputs': [ |
| 22 | '../copy-file.py', |
| 23 | ], |
| 24 | 'outputs': [ |
| 25 | 'rules-out/<(RULE_INPUT_ROOT).out', |
| 26 | ], |
| 27 | 'action': [ |
| 28 | 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', |
| 29 | ], |
| 30 | 'process_outputs_as_sources': 0, |
| 31 | }, |
| 32 | { |
| 33 | 'rule_name': 'copy_file_1', |
| 34 | 'extension': 'in1', |
| 35 | 'inputs': [ |
| 36 | '../copy-file.py', |
| 37 | ], |
| 38 | 'outputs': [ |
| 39 | 'rules-out/<(RULE_INPUT_ROOT).out', |
| 40 | ], |
| 41 | 'action': [ |
| 42 | 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', |
| 43 | ], |
| 44 | 'process_outputs_as_sources': 1, |
| 45 | }, |
| 46 | ], |
| 47 | }, |
| 48 | ], |
| 49 | } |