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': 'file', 9 'type': 'none', 10 'msvs_cygwin_shell': 0, 11 'actions': [ 12 { 13 'action_name': 'make-file', 14 'inputs': [ 15 'make-file.py', 16 ], 17 'outputs': [ 18 'file.out', 19 # TODO: enhance testing infrastructure to test this 20 # without having to hard-code the intermediate dir paths. 21 #'<(INTERMEDIATE_DIR)/file.out', 22 ], 23 'action': [ 24 'python', '<(_inputs)', '<@(_outputs)', 25 ], 26 'process_outputs_as_sources': 1, 27 # Allows the test to run without hermetic cygwin on windows. 28 'msvs_cygwin_shell': 0, 29 } 30 ], 31 }, 32 ], 33 } 34