summaryrefslogtreecommitdiff
path: root/gyp/mbgl-ios.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/mbgl-ios.gypi')
-rw-r--r--gyp/mbgl-ios.gypi39
1 files changed, 26 insertions, 13 deletions
diff --git a/gyp/mbgl-ios.gypi b/gyp/mbgl-ios.gypi
index e6fa245890..c2a7b6ca70 100644
--- a/gyp/mbgl-ios.gypi
+++ b/gyp/mbgl-ios.gypi
@@ -8,34 +8,47 @@
'dependencies': [
'version',
],
+
'sources': [
'../platform/darwin/log_nslog.mm',
'../platform/darwin/string_nsstring.mm',
- '../platform/darwin/http_request_cocoa.mm',
'../platform/darwin/application_root.mm',
'../platform/darwin/image.mm',
- '../platform/default/asset_request_libuv.cpp',
],
+
+ 'variables': {
+ 'cflags_cc': [
+ '<@(uv_cflags)',
+ '-I<(boost_root)/include',
+ ],
+ 'libraries': [
+ '<@(uv_static_libs)',
+ ],
+ 'ldflags': [
+ '-framework ImageIO',
+ '-framework MobileCoreServices',
+ ],
+ },
+
'include_dirs': [
'../include',
- '../src',
],
+
'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [
- '<@(uv_cflags)',
- '-I<(boost_root)/include',
- ],
+ 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
},
+
+ 'link_settings': {
+ 'libraries': [ '<@(libraries)' ],
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [ '<@(ldflags)' ],
+ },
+ },
+
'direct_dependent_settings': {
'include_dirs': [
'../include',
],
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [
- '-framework ImageIO',
- '-framework MobileCoreServices',
- ],
- },
},
},
],