summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-11-20 14:32:18 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-12-01 11:49:02 +0200
commit3d07aaf95db30cbd7cd52e47704031cc8a8c7d4b (patch)
tree7ab800d7e6288f3e3aa4d2e872b573ff303bef7f /gyp
parented29223e5a626980100b7dc4f85737852f1a5319 (diff)
downloadqtlocation-mapboxgl-3d07aaf95db30cbd7cd52e47704031cc8a8c7d4b.tar.gz
[core] Don't link with libuv on components not using it directly
Diffstat (limited to 'gyp')
-rw-r--r--gyp/asset-fs.gypi18
-rw-r--r--gyp/asset-zip.gypi5
-rw-r--r--gyp/cache-sqlite.gypi3
-rw-r--r--gyp/core.gypi4
-rw-r--r--gyp/http-android.gypi18
-rw-r--r--gyp/http-curl.gypi3
-rw-r--r--gyp/http-nsurl.gypi9
7 files changed, 0 insertions, 60 deletions
diff --git a/gyp/asset-fs.gypi b/gyp/asset-fs.gypi
index e84fabb629..a4f3f7f4f0 100644
--- a/gyp/asset-fs.gypi
+++ b/gyp/asset-fs.gypi
@@ -17,15 +17,8 @@
'variables': {
'cflags_cc': [
- '<@(libuv_cflags)',
'<@(boost_cflags)',
],
- 'ldflags': [
- '<@(libuv_ldflags)',
- ],
- 'libraries': [
- '<@(libuv_static_libs)',
- ],
'defines': [
'-DMBGL_ASSET_FS'
],
@@ -54,17 +47,6 @@
}]
],
},
-
- 'link_settings': {
- 'conditions': [
- ['OS == "mac"', {
- 'libraries': [ '<@(libraries)' ],
- 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)' ] }
- }, {
- 'libraries': [ '<@(libraries)', '<@(ldflags)' ],
- }]
- ],
- },
},
],
}
diff --git a/gyp/asset-zip.gypi b/gyp/asset-zip.gypi
index 40459e516a..8a19da4fcd 100644
--- a/gyp/asset-zip.gypi
+++ b/gyp/asset-zip.gypi
@@ -17,20 +17,15 @@
'variables': {
'cflags': [
- '<@(libuv_cflags)',
'<@(libzip_cflags)',
],
'cflags_cc': [
- '<@(libuv_cflags)',
'<@(libzip_cflags)',
- '<@(boost_cflags)',
],
'ldflags': [
- '<@(libuv_ldflags)',
'<@(libzip_ldflags)',
],
'libraries': [
- '<@(libuv_static_libs)',
'<@(libzip_static_libs)',
],
'defines': [
diff --git a/gyp/cache-sqlite.gypi b/gyp/cache-sqlite.gypi
index 704dc490ea..54774a4f05 100644
--- a/gyp/cache-sqlite.gypi
+++ b/gyp/cache-sqlite.gypi
@@ -19,16 +19,13 @@
'variables': {
'cflags_cc': [
- '<@(libuv_cflags)',
'<@(sqlite_cflags)',
],
'ldflags': [
- '<@(libuv_ldflags)',
'<@(sqlite_ldflags)',
'<@(zlib_ldflags)',
],
'libraries': [
- '<@(libuv_static_libs)',
'<@(sqlite_static_libs)',
'<@(zlib_static_libs)',
],
diff --git a/gyp/core.gypi b/gyp/core.gypi
index a1bf41a0e1..35a958f556 100644
--- a/gyp/core.gypi
+++ b/gyp/core.gypi
@@ -28,7 +28,6 @@
'variables': {
'cflags_cc': [
- '<@(libuv_cflags)',
'<@(opengl_cflags)',
'<@(boost_cflags)',
'<@(geojsonvt_cflags)',
@@ -36,18 +35,15 @@
'<@(rapidjson_cflags)',
],
'cflags': [
- '<@(libuv_cflags)',
'<@(opengl_cflags)',
'<@(variant_cflags)',
'<@(rapidjson_cflags)',
'-fPIC'
],
'ldflags': [
- '<@(libuv_ldflags)',
'<@(opengl_ldflags)',
],
'libraries': [
- '<@(libuv_static_libs)',
'<@(geojsonvt_static_libs)',
],
},
diff --git a/gyp/http-android.gypi b/gyp/http-android.gypi
index c210db0fb6..84a44adcbc 100644
--- a/gyp/http-android.gypi
+++ b/gyp/http-android.gypi
@@ -17,15 +17,8 @@
'variables': {
'cflags_cc': [
- '<@(libuv_cflags)',
'<@(boost_cflags)',
],
- 'ldflags': [
- '<@(libuv_ldflags)',
- ],
- 'libraries': [
- '<@(libuv_static_libs)',
- ],
'defines': [
'-DMBGL_HTTP_ANDROID'
],
@@ -54,17 +47,6 @@
}]
],
},
-
- 'link_settings': {
- 'conditions': [
- ['OS == "mac"', {
- 'libraries': [ '<@(libraries)' ],
- 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)' ] }
- }, {
- 'libraries': [ '<@(libraries)', '<@(ldflags)' ],
- }]
- ],
- },
},
],
}
diff --git a/gyp/http-curl.gypi b/gyp/http-curl.gypi
index 7ae5b1b75f..af4c2c5472 100644
--- a/gyp/http-curl.gypi
+++ b/gyp/http-curl.gypi
@@ -17,16 +17,13 @@
'variables': {
'cflags_cc': [
- '<@(libuv_cflags)',
'<@(libcurl_cflags)',
'<@(boost_cflags)',
],
'ldflags': [
- '<@(libuv_ldflags)',
'<@(libcurl_ldflags)',
],
'libraries': [
- '<@(libuv_static_libs)',
'<@(libcurl_static_libs)',
],
'defines': [
diff --git a/gyp/http-nsurl.gypi b/gyp/http-nsurl.gypi
index efd2c18a7d..af15520c56 100644
--- a/gyp/http-nsurl.gypi
+++ b/gyp/http-nsurl.gypi
@@ -16,15 +16,8 @@
],
'variables': {
- 'cflags_cc': [
- '<@(libuv_cflags)',
- ],
'ldflags': [
'-framework Foundation', # For NSURLRequest
- '<@(libuv_ldflags)',
- ],
- 'libraries': [
- '<@(libuv_static_libs)',
],
'defines': [
'-DMBGL_HTTP_NSURL'
@@ -32,7 +25,6 @@
},
'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
'CLANG_ENABLE_OBJC_ARC': 'NO',
},
@@ -44,7 +36,6 @@
},
'link_settings': {
- 'libraries': [ '<@(libraries)' ],
'xcode_settings': {
'OTHER_LDFLAGS': [ '<@(ldflags)' ],
},