summaryrefslogtreecommitdiff
path: root/gyp/mbgl-osx.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/mbgl-osx.gypi')
-rw-r--r--gyp/mbgl-osx.gypi33
1 files changed, 33 insertions, 0 deletions
diff --git a/gyp/mbgl-osx.gypi b/gyp/mbgl-osx.gypi
new file mode 100644
index 0000000000..ba117e5a59
--- /dev/null
+++ b/gyp/mbgl-osx.gypi
@@ -0,0 +1,33 @@
+{
+ 'targets': [
+ { 'target_name': 'mbgl-osx',
+ 'product_name': 'mbgl-osx',
+ 'type': 'static_library',
+ 'hard_dependency': 1,
+ 'include_dirs': [
+ '../include',
+ ],
+ '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',
+ ],
+ 'xcode_settings': {
+ 'OTHER_CPLUSPLUSFLAGS': [
+ '<@(uv_cflags)',
+ ],
+ },
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '../include',
+ ],
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [
+ '<@(uv_libraries)',
+ ],
+ },
+ },
+ },
+ ],
+}