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': 'target', 9 'type': 'none', 10 'actions': [ 11 { 12 'action_name': 'action1', 13 'inputs': [], 14 'outputs': [ 15 'action1.txt', 16 ], 17 'action': [ 18 'python', '../touch.py', '<(_outputs)', 19 ], 20 # Allows the test to run without hermetic cygwin on windows. 21 'msvs_cygwin_shell': 0, 22 }, 23 ], 24 }, 25 { 26 'target_name': 'target_same_action_name', 27 'type': 'none', 28 'actions': [ 29 { 30 'action_name': 'action', 31 'inputs': [], 32 'outputs': [ 33 'action.txt', 34 ], 35 'action': [ 36 'python', '../touch.py', '<(_outputs)', 37 ], 38 # Allows the test to run without hermetic cygwin on windows. 39 'msvs_cygwin_shell': 0, 40 }, 41 ], 42 }, 43 { 44 'target_name': 'target_same_rule_name', 45 'type': 'none', 46 'sources': [ 47 '../touch.py' 48 ], 49 'rules': [ 50 { 51 'rule_name': 'rule', 52 'extension': 'py', 53 'inputs': [], 54 'outputs': [ 55 'rule.txt', 56 ], 57 'action': [ 58 'python', '../touch.py', '<(_outputs)', 59 ], 60 # Allows the test to run without hermetic cygwin on windows. 61 'msvs_cygwin_shell': 0, 62 }, 63 ], 64 }, 65 ], 66 } 67