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 is a rule that doesn't apply to anything. 6 { 7 'targets': [ 8 { 9 'target_name': 'files_no_input2', 10 'type': 'none', 11 'msvs_cygwin_shell': 0, 12 'sources': [ 13 'file1.in', 14 'file2.in', 15 ], 16 'rules': [ 17 { 18 'rule_name': 'copy_file3', 19 'extension': 'in2', 20 'outputs': [ 21 '<(RULE_INPUT_ROOT).out3', 22 ], 23 'action': [ 24 'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs)', 25 ], 26 'process_outputs_as_sources': 1, 27 }, 28 ], 29 }, 30 ], 31 } 32