Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | # Copyright (c) 2011 Google Inc. All rights reserved. |
michael@0 | 2 | # Use of this source code is governed by a BSD-style license that can be |
michael@0 | 3 | # found in the LICENSE file. |
michael@0 | 4 | |
michael@0 | 5 | { |
michael@0 | 6 | 'targets': [ |
michael@0 | 7 | { |
michael@0 | 8 | 'target_name': 'target2', |
michael@0 | 9 | 'type': 'none', |
michael@0 | 10 | 'actions': [ |
michael@0 | 11 | { |
michael@0 | 12 | 'action_name': 'intermediate', |
michael@0 | 13 | 'inputs': [], |
michael@0 | 14 | 'outputs': [ |
michael@0 | 15 | '<(INTERMEDIATE_DIR)/intermediate_out.txt', |
michael@0 | 16 | 'outfile.txt', |
michael@0 | 17 | ], |
michael@0 | 18 | 'action': [ |
michael@0 | 19 | 'python', 'script.py', 'target2', '<(_outputs)', |
michael@0 | 20 | ], |
michael@0 | 21 | # Allows the test to run without hermetic cygwin on windows. |
michael@0 | 22 | 'msvs_cygwin_shell': 0, |
michael@0 | 23 | }, |
michael@0 | 24 | { |
michael@0 | 25 | 'action_name': 'shared_intermediate', |
michael@0 | 26 | 'inputs': [ |
michael@0 | 27 | 'shared_infile.txt', |
michael@0 | 28 | ], |
michael@0 | 29 | 'outputs': [ |
michael@0 | 30 | '<(SHARED_INTERMEDIATE_DIR)/intermediate_out.txt', |
michael@0 | 31 | 'shared_outfile.txt', |
michael@0 | 32 | ], |
michael@0 | 33 | 'action': [ |
michael@0 | 34 | 'python', 'script.py', 'shared_target2', '<(_outputs)', |
michael@0 | 35 | ], |
michael@0 | 36 | # Allows the test to run without hermetic cygwin on windows. |
michael@0 | 37 | 'msvs_cygwin_shell': 0, |
michael@0 | 38 | }, |
michael@0 | 39 | ], |
michael@0 | 40 | }, |
michael@0 | 41 | ], |
michael@0 | 42 | } |