summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/postbuild-defaults/test.gyp
blob: be0a075efc6f0c5b6274a426ab390d5aa58c6d87 (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) 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': 'test_app',
      'product_name': 'Test',
      'type': 'executable',
      'mac_bundle': 1,
      'sources': [ 'main.c', ],
      'xcode_settings': {
        'INFOPLIST_FILE': 'Info.plist',
      },
      'postbuilds': [
        {
          'postbuild_name': 'Postbuild that calls defaults',
          'action': [
            './postbuild-defaults.sh',
            '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
          ],
        },
      ],
    },
  ],
}