summaryrefslogtreecommitdiff
path: root/gyp/mbgl-osx.gypi
blob: 015ee13abd2f040f7927c350214d5913dcfe73c7 (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
{
  'targets': [
    { 'target_name': 'mbgl-osx',
      'product_name': 'mbgl-osx',
      'type': 'static_library',
      'standalone_static_library': 1,
      'hard_dependency': 1,
      'sources': [
        '../platform/osx/cache_database_application_support.mm',
        '../platform/darwin/log_nslog.mm',
        '../platform/darwin/string_nsstring.mm',
        '../platform/darwin/http_request_baton_cocoa.mm',
        '../platform/darwin/image.mm',
        '../platform/default/caching_http_file_source.cpp',
      ],
      'include_dirs': [
        '../include',
      ],
      'xcode_settings': {
        'OTHER_CPLUSPLUSFLAGS': [ '<@(uv_cflags)' ],
      },
      'direct_dependent_settings': {
        'include_dirs': [
          '../include',
        ],
        'xcode_settings': {
          'OTHER_LDFLAGS': [
            '-framework ImageIO',
            '-framework CoreServices',
          ],
        },
      },
    },
  ],
}