Files
MapLibreParticleLab/gyp/http-nsurl.gypi

46 lines
921 B
Python

{
'targets': [
{ 'target_name': 'http-nsurl',
'product_name': 'mbgl-http-nsurl',
'type': 'static_library',
'standalone_static_library': 1,
'hard_dependency': 1,
'sources': [
'../platform/darwin/src/http_request_nsurl.mm',
],
'include_dirs': [
'../include',
'../src',
],
'variables': {
'ldflags': [
'-framework Foundation', # For NSURLRequest
],
'defines': [
'-DMBGL_HTTP_NSURL'
],
},
'xcode_settings': {
'CLANG_ENABLE_OBJC_ARC': 'NO',
},
'direct_dependent_settings': {
'xcode_settings': {
'OTHER_CFLAGS': [ '<@(defines)' ],
'OTHER_CPLUSPLUSFLAGS': [ '<@(defines)' ],
}
},
'link_settings': {
'xcode_settings': {
'OTHER_LDFLAGS': [ '<@(ldflags)' ],
},
},
},
],
}