summaryrefslogtreecommitdiff
path: root/gyp/mbgl-headless.gypi
blob: a96ec24c9e413251e587c2a3dfdbc66c20c43c66 (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-headless',
      'product_name': 'mbgl-headless',
      'type': 'static_library',
      'standalone_static_library': 1,
      'variables': {
        'cflags_cc': [
          '<@(uv_cflags)',
        ],
        'cflags': [
          '<@(uv_cflags)',
        ],
      },
      'include_dirs': [
        '../include',
      ],
      'conditions': [
        ['OS == "mac"', {
          'xcode_settings': {
            'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
            'OTHER_CFLAGS': [ '<@(cflags)' ],
          }
        }, {
          'cflags_cc': [ '<@(cflags_cc)' ],
          'cflags': [ '<@(cflags)' ],
        }]
      ],
      'sources': [
        '../platform/default/headless_view.cpp',
        '../platform/default/headless_display.cpp',
      ],
    },
  ],
}