| Index: test/actions-multiple/src/actions.gyp
|
| ===================================================================
|
| --- test/actions-multiple/src/actions.gyp (revision 0)
|
| +++ test/actions-multiple/src/actions.gyp (revision 0)
|
| @@ -0,0 +1,149 @@
|
| +# Copyright (c) 2011 Google Inc. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'multiple_action_target',
|
| + 'type': 'none',
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'action1',
|
| + 'inputs': [
|
| + 'copy.py',
|
| + 'input.txt',
|
| + ],
|
| + 'outputs': [
|
| + 'output1.txt',
|
| + ],
|
| + 'action': [
|
| + 'python', '<@(_inputs)', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + {
|
| + 'action_name': 'action2',
|
| + 'inputs': [
|
| + 'copy.py',
|
| + 'input.txt',
|
| + ],
|
| + 'outputs': [
|
| + 'output2.txt',
|
| + ],
|
| + 'action': [
|
| + 'python', '<@(_inputs)', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + {
|
| + 'action_name': 'action3',
|
| + 'inputs': [
|
| + 'copy.py',
|
| + 'input.txt',
|
| + ],
|
| + 'outputs': [
|
| + 'output3.txt',
|
| + ],
|
| + 'action': [
|
| + 'python', '<@(_inputs)', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + {
|
| + 'action_name': 'action4',
|
| + 'inputs': [
|
| + 'copy.py',
|
| + 'input.txt',
|
| + ],
|
| + 'outputs': [
|
| + 'output4.txt',
|
| + ],
|
| + 'action': [
|
| + 'python', '<@(_inputs)', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'multiple_action_source_filter',
|
| + 'type': 'executable',
|
| + 'sources': [
|
| + 'main.c',
|
| + # TODO(bradnelson): add foo.c here once this issue is fixed:
|
| + # http://code.google.com/p/gyp/issues/detail?id=175
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'action1',
|
| + 'inputs': [
|
| + 'foo.c',
|
| + 'filter.py',
|
| + ],
|
| + 'outputs': [
|
| + 'output1.c',
|
| + ],
|
| + 'process_outputs_as_sources': 1,
|
| + 'action': [
|
| + 'python', 'filter.py', 'foo', 'bar', 'foo.c', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + {
|
| + 'action_name': 'action2',
|
| + 'inputs': [
|
| + 'foo.c',
|
| + 'filter.py',
|
| + ],
|
| + 'outputs': [
|
| + 'output2.c',
|
| + ],
|
| + 'process_outputs_as_sources': 1,
|
| + 'action': [
|
| + 'python', 'filter.py', 'foo', 'car', 'foo.c', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + {
|
| + 'action_name': 'action3',
|
| + 'inputs': [
|
| + 'foo.c',
|
| + 'filter.py',
|
| + ],
|
| + 'outputs': [
|
| + 'output3.c',
|
| + ],
|
| + 'process_outputs_as_sources': 1,
|
| + 'action': [
|
| + 'python', 'filter.py', 'foo', 'dar', 'foo.c', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + {
|
| + 'action_name': 'action4',
|
| + 'inputs': [
|
| + 'foo.c',
|
| + 'filter.py',
|
| + ],
|
| + 'outputs': [
|
| + 'output4.c',
|
| + ],
|
| + 'process_outputs_as_sources': 1,
|
| + 'action': [
|
| + 'python', 'filter.py', 'foo', 'ear', 'foo.c', '<(_outputs)',
|
| + ],
|
| + # Allows the test to run without hermetic cygwin on windows.
|
| + 'msvs_cygwin_shell': 0,
|
| + },
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|
| Property changes on: test\actions-multiple\src\actions.gyp
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|