OLD | NEW |
(Empty) | |
| 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': 'multiple_action_target', |
| 9 'type': 'none', |
| 10 'actions': [ |
| 11 { |
| 12 'action_name': 'action1', |
| 13 'inputs': [ |
| 14 'copy.py', |
| 15 'input.txt', |
| 16 ], |
| 17 'outputs': [ |
| 18 'output1.txt', |
| 19 ], |
| 20 'action': [ |
| 21 'python', '<@(_inputs)', '<(_outputs)', |
| 22 ], |
| 23 # Allows the test to run without hermetic cygwin on windows. |
| 24 'msvs_cygwin_shell': 0, |
| 25 }, |
| 26 { |
| 27 'action_name': 'action2', |
| 28 'inputs': [ |
| 29 'copy.py', |
| 30 'input.txt', |
| 31 ], |
| 32 'outputs': [ |
| 33 'output2.txt', |
| 34 ], |
| 35 'action': [ |
| 36 'python', '<@(_inputs)', '<(_outputs)', |
| 37 ], |
| 38 # Allows the test to run without hermetic cygwin on windows. |
| 39 'msvs_cygwin_shell': 0, |
| 40 }, |
| 41 { |
| 42 'action_name': 'action3', |
| 43 'inputs': [ |
| 44 'copy.py', |
| 45 'input.txt', |
| 46 ], |
| 47 'outputs': [ |
| 48 'output3.txt', |
| 49 ], |
| 50 'action': [ |
| 51 'python', '<@(_inputs)', '<(_outputs)', |
| 52 ], |
| 53 # Allows the test to run without hermetic cygwin on windows. |
| 54 'msvs_cygwin_shell': 0, |
| 55 }, |
| 56 { |
| 57 'action_name': 'action4', |
| 58 'inputs': [ |
| 59 'copy.py', |
| 60 'input.txt', |
| 61 ], |
| 62 'outputs': [ |
| 63 'output4.txt', |
| 64 ], |
| 65 'action': [ |
| 66 'python', '<@(_inputs)', '<(_outputs)', |
| 67 ], |
| 68 # Allows the test to run without hermetic cygwin on windows. |
| 69 'msvs_cygwin_shell': 0, |
| 70 }, |
| 71 ], |
| 72 }, |
| 73 { |
| 74 'target_name': 'multiple_action_source_filter', |
| 75 'type': 'executable', |
| 76 'sources': [ |
| 77 'main.c', |
| 78 # TODO(bradnelson): add foo.c here once this issue is fixed: |
| 79 # http://code.google.com/p/gyp/issues/detail?id=175 |
| 80 ], |
| 81 'actions': [ |
| 82 { |
| 83 'action_name': 'action1', |
| 84 'inputs': [ |
| 85 'foo.c', |
| 86 'filter.py', |
| 87 ], |
| 88 'outputs': [ |
| 89 'output1.c', |
| 90 ], |
| 91 'process_outputs_as_sources': 1, |
| 92 'action': [ |
| 93 'python', 'filter.py', 'foo', 'bar', 'foo.c', '<(_outputs)', |
| 94 ], |
| 95 # Allows the test to run without hermetic cygwin on windows. |
| 96 'msvs_cygwin_shell': 0, |
| 97 }, |
| 98 { |
| 99 'action_name': 'action2', |
| 100 'inputs': [ |
| 101 'foo.c', |
| 102 'filter.py', |
| 103 ], |
| 104 'outputs': [ |
| 105 'output2.c', |
| 106 ], |
| 107 'process_outputs_as_sources': 1, |
| 108 'action': [ |
| 109 'python', 'filter.py', 'foo', 'car', 'foo.c', '<(_outputs)', |
| 110 ], |
| 111 # Allows the test to run without hermetic cygwin on windows. |
| 112 'msvs_cygwin_shell': 0, |
| 113 }, |
| 114 { |
| 115 'action_name': 'action3', |
| 116 'inputs': [ |
| 117 'foo.c', |
| 118 'filter.py', |
| 119 ], |
| 120 'outputs': [ |
| 121 'output3.c', |
| 122 ], |
| 123 'process_outputs_as_sources': 1, |
| 124 'action': [ |
| 125 'python', 'filter.py', 'foo', 'dar', 'foo.c', '<(_outputs)', |
| 126 ], |
| 127 # Allows the test to run without hermetic cygwin on windows. |
| 128 'msvs_cygwin_shell': 0, |
| 129 }, |
| 130 { |
| 131 'action_name': 'action4', |
| 132 'inputs': [ |
| 133 'foo.c', |
| 134 'filter.py', |
| 135 ], |
| 136 'outputs': [ |
| 137 'output4.c', |
| 138 ], |
| 139 'process_outputs_as_sources': 1, |
| 140 'action': [ |
| 141 'python', 'filter.py', 'foo', 'ear', 'foo.c', '<(_outputs)', |
| 142 ], |
| 143 # Allows the test to run without hermetic cygwin on windows. |
| 144 'msvs_cygwin_shell': 0, |
| 145 }, |
| 146 ], |
| 147 }, |
| 148 ], |
| 149 } |
OLD | NEW |