1 # Copyright (c) 2011 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': 'target2', 9 'type': 'none', 10 'actions': [ 11 { 12 'action_name': 'intermediate', 13 'inputs': [], 14 'outputs': [ 15 '<(INTERMEDIATE_DIR)/intermediate_out.txt', 16 'outfile.txt', 17 ], 18 'action': [ 19 'python', 'script.py', 'target2', '<(_outputs)', 20 ], 21 # Allows the test to run without hermetic cygwin on windows. 22 'msvs_cygwin_shell': 0, 23 }, 24 { 25 'action_name': 'shared_intermediate', 26 'inputs': [ 27 'shared_infile.txt', 28 ], 29 'outputs': [ 30 '<(SHARED_INTERMEDIATE_DIR)/intermediate_out.txt', 31 'shared_outfile.txt', 32 ], 33 'action': [ 34 'python', 'script.py', 'shared_target2', '<(_outputs)', 35 ], 36 # Allows the test to run without hermetic cygwin on windows. 37 'msvs_cygwin_shell': 0, 38 }, 39 ], 40 }, 41 ], 42 } 43