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': 'null_input', 9 'type': 'executable', 10 'msvs_cygwin_shell': 0, 11 'actions': [ 12 { 13 'action_name': 'generate_main', 14 'process_outputs_as_sources': 1, 15 'inputs': [], 16 'outputs': [ 17 '<(INTERMEDIATE_DIR)/main.c', 18 ], 19 'action': [ 20 # TODO: we can't just use <(_outputs) here?! 21 'python', 'generate_main.py', '<(INTERMEDIATE_DIR)/main.c', 22 ], 23 # Allows the test to run without hermetic cygwin on windows. 24 'msvs_cygwin_shell': 0, 25 }, 26 ], 27 }, 28 ], 29 } 30