summaryrefslogtreecommitdiff
path: root/deps/gyp/test/actions-multiple-outputs-with-dependencies/src/action.gyp
blob: a305d65ea9e68eb58d477afff3f5c842e66e7fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (c) 2015 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': 'upper',
      'type': 'none',
      'actions': [{
        'action_name': 'upper_action',
        'inputs': ['<(PRODUCT_DIR)/out2.txt'],
        'outputs': ['<(PRODUCT_DIR)/result.txt'],
        'action': ['python', 'rcopy.py', '<@(_inputs)', '<@(_outputs)'],
      }],
    },
    {
      'target_name': 'lower',
      'type': 'none',
      'actions': [{
        'action_name': 'lower_action',
        'inputs': ['input.txt'],
        'outputs': ['<(PRODUCT_DIR)/out1.txt', '<(PRODUCT_DIR)/out2.txt'],
        'action': ['python', 'rcopy.py', '<@(_inputs)', '<@(_outputs)'],
      }],
    },
  ],
}