summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/depend-on-bundle/test.gyp
blob: e00b10541593319d0af2e4c1577b32784c8e4408 (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) 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': 'my_bundle',
      'type': 'shared_library',
      'mac_bundle': 1,
      'sources': [ 'bundle.c' ],
      'mac_bundle_resources': [
        'English.lproj/InfoPlist.strings',
      ],
      'xcode_settings': {
        'INFOPLIST_FILE': 'Info.plist',
      }
    },
    {
      'target_name': 'dependent_on_bundle',
      'type': 'executable',
      'sources': [ 'executable.c' ],
      'dependencies': [
        'my_bundle',
      ],
    },
  ],
}