1 # Copyright (c) 2012 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': 'test_expansions', 9 'msvs_cygwin_shell': 0, 10 'type': 'none', 11 'rules': [ 12 { 13 'rule_name': 'generate_file', 14 'extension': 'blah', 15 'inputs': [ 16 '<(RULE_INPUT_PATH)', 17 'do_stuff.py', 18 ], 19 'outputs': [ 20 '$(OutDir)\\<(RULE_INPUT_NAME).something', 21 ], 22 'action': ['python', 23 'do_stuff.py', 24 '<(RULE_INPUT_PATH)', 25 '$(OutDir)\\<(RULE_INPUT_NAME).something',], 26 }, 27 ], 28 'sources': [ 29 'stuff.blah', 30 ], 31 }, 32 ] 33 } 34