summaryrefslogtreecommitdiff
path: root/gyp/mbgl.gyp
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-11-03 16:03:40 -0500
committerMike Morris <michael.patrick.morris@gmail.com>2015-11-04 11:34:35 -0500
commitdfb36d62317d99482e6a16b772e8d370464d1cce (patch)
tree9bd31f0a1abbaf4cbd5e46e18aeb4199ca4ac2f7 /gyp/mbgl.gyp
parentda569c266b663b815b0fa754be59c78904b92fa6 (diff)
downloadqtlocation-mapboxgl-dfb36d62317d99482e6a16b772e8d370464d1cce.tar.gz
[core] move mbgl.gyp to gyp directory
So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243
Diffstat (limited to 'gyp/mbgl.gyp')
-rw-r--r--gyp/mbgl.gyp27
1 files changed, 27 insertions, 0 deletions
diff --git a/gyp/mbgl.gyp b/gyp/mbgl.gyp
new file mode 100644
index 0000000000..c2c8d9c261
--- /dev/null
+++ b/gyp/mbgl.gyp
@@ -0,0 +1,27 @@
+{
+ 'includes': [
+ 'common.gypi',
+ 'shaders.gypi',
+ 'version.gypi',
+ 'certificates.gypi',
+ 'standalone.gypi',
+ 'core.gypi',
+ 'none.gypi',
+ ],
+ 'conditions': [
+ ['headless_lib == "cgl" and host == "osx"', { 'includes': [ 'headless-cgl.gypi' ] } ],
+ ['headless_lib == "glx" and host == "linux"', { 'includes': [ 'headless-glx.gypi' ] } ],
+ ['platform_lib == "osx" and host == "osx"', { 'includes': [ 'platform-osx.gypi' ] } ],
+ ['platform_lib == "ios" and host == "ios"', { 'includes': [ 'platform-ios.gypi' ] } ],
+ ['platform_lib == "linux"', { 'includes': [ 'platform-linux.gypi' ] } ],
+ ['platform_lib == "android" and host == "android"', { 'includes': [ 'platform-android.gypi' ] } ],
+ ['http_lib == "curl"', { 'includes': [ 'http-curl.gypi' ] } ],
+ ['http_lib == "nsurl" and (host == "osx" or host == "ios")', { 'includes': [ 'http-nsurl.gypi' ] } ],
+ ['http_lib == "android" and host == "android"', { 'includes': [ 'http-android.gypi' ] } ],
+ ['asset_lib == "fs"', { 'includes': [ 'asset-fs.gypi' ] } ],
+ ['asset_lib == "zip"', { 'includes': [ 'asset-zip.gypi' ] } ],
+ ['cache_lib == "sqlite"', { 'includes': [ 'cache-sqlite.gypi' ] } ],
+
+ ['install_prefix != ""', { 'includes': ['install.gypi' ] } ],
+ ],
+}