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.in', 13 'file2.in', 14 ], 15 'rules': [ 16 { 17 'rule_name': 'copy_file', 18 'extension': 'in', 19 'inputs': [ 20 '../copy-file.py', 21 ], 22 'outputs': [ 23 '<(RULE_INPUT_ROOT).out', 24 ], 25 'action': [ 26 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', 27 ], 28 'process_outputs_as_sources': 1, 29 }, 30 ], 31 }, 32 ], 33 } 34