summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/action-envvars/action/action.gyp
blob: d9d65745ca325616b30a4a20b4838ed00c6ec8a8 (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
29
30
31
32
33
34
# Copyright (c) 2012 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': 'action',
      'type': 'none',
      'actions': [
        {
          'inputs': [ ],
          'outputs': [
            '<(PRODUCT_DIR)/result',
            '<(SHARED_INTERMEDIATE_DIR)/tempfile',
          ],
          'action_name': 'Test action',
          'action': ['./action.sh', '<(SHARED_INTERMEDIATE_DIR)/tempfile' ],
        },
        {
          'inputs': [
            '<(SHARED_INTERMEDIATE_DIR)/tempfile',
          ],
          'outputs': [
            '<(PRODUCT_DIR)/other_result',
          ],
          'action_name': 'Other test action',
          'action': ['cp', '<(SHARED_INTERMEDIATE_DIR)/tempfile',
                           '<(PRODUCT_DIR)/other_result' ],
        },
      ],
    },
  ],
}