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# Test that the case where there are no inputs (other than the 6# file the rule applies to). 7{ 8 'targets': [ 9 { 10 'target_name': 'files_no_input', 11 'type': 'none', 12 'msvs_cygwin_shell': 0, 13 'sources': [ 14 'file1.in', 15 'file2.in', 16 ], 17 'rules': [ 18 { 19 'rule_name': 'copy_file2', 20 'extension': 'in', 21 'outputs': [ 22 '<(RULE_INPUT_ROOT).out2', 23 ], 24 'action': [ 25 'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs)', 26 ], 27 'process_outputs_as_sources': 1, 28 }, 29 ], 30 }, 31 ], 32} 33