summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/mac/strip/test-defaults.gyp
blob: e688b955a742f0edc2c9c6be0ee3fc030a735e75 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (c) 2013 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.
{
  'make_global_settings': [
    ['CC', '/usr/bin/clang'],
  ],
  'target_defaults': {
    'xcode_settings': {
      'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
      'DEPLOYMENT_POSTPROCESSING': 'YES',
      'STRIP_INSTALLED_PRODUCT': 'YES',
    },
  },
  'targets': [
    {
      'target_name': 'single_dylib',
      'type': 'shared_library',
      'sources': [ 'file.c', ],
    },
    {
      'target_name': 'single_so',
      'type': 'loadable_module',
      'sources': [ 'file.c', ],
    },
    {
      'target_name': 'single_exe',
      'type': 'executable',
      'sources': [ 'main.c', ],
    },

    {
      'target_name': 'bundle_dylib',
      'type': 'shared_library',
      'mac_bundle': '1',
      'sources': [ 'file.c', ],
    },
    {
      'target_name': 'bundle_so',
      'type': 'loadable_module',
      'mac_bundle': '1',
      'sources': [ 'file.c', ],
    },
    {
      'target_name': 'bundle_exe',
      'type': 'executable',
      'mac_bundle': '1',
      'sources': [ 'main.c', ],
    },
  ],
}