summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/xcode-support-actions/test.gyp
blob: ad81b8c456c120a9c27603d2182f14cf2ad785a9 (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
# Copyright (c) 2014 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': 'target',
      'product_name': 'Product',
      'type': 'shared_library',
      'mac_bundle': 1,
      'sources': [
        '<(PRODUCT_DIR)/copy.c',
      ],
      'actions': [
        {
          'action_name': 'Helper',
          'description': 'Helps',
          'inputs': [ 'source.c' ],
          'outputs': [ '<(PRODUCT_DIR)/copy.c' ],
          'action': [ 'cp', '${SOURCE_ROOT}/source.c',
                      '<(PRODUCT_DIR)/copy.c' ],
        },
      ],
    },
  ],
}