summaryrefslogtreecommitdiff
path: root/gyp/asset-zip.gypi
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-16 18:30:19 -0800
committerKonstantin Käfer <mail@kkaefer.com>2015-02-16 18:30:19 -0800
commitfe0baffe0dfbf369f422e175c0fcf3dda9055118 (patch)
treed404bd67ec2b338f37e4de958c74c44c841a77b5 /gyp/asset-zip.gypi
parent8d3c2b3d303adaf2c9caa91356183d9b40cdfeab (diff)
downloadqtlocation-mapboxgl-fe0baffe0dfbf369f422e175c0fcf3dda9055118.tar.gz
update uv_zip and add tests
Diffstat (limited to 'gyp/asset-zip.gypi')
-rw-r--r--gyp/asset-zip.gypi17
1 files changed, 17 insertions, 0 deletions
diff --git a/gyp/asset-zip.gypi b/gyp/asset-zip.gypi
index 25df2a3d8b..5c57aa18b5 100644
--- a/gyp/asset-zip.gypi
+++ b/gyp/asset-zip.gypi
@@ -33,6 +33,9 @@
'<@(uv_static_libs)',
'<@(zip_static_libs)',
],
+ 'defines': [
+ '-DMBGL_ASSET_ZIP'
+ ],
},
'conditions': [
@@ -47,6 +50,20 @@
}],
],
+ 'direct_dependent_settings': {
+ 'conditions': [
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'OTHER_CFLAGS': [ '<@(defines)' ],
+ 'OTHER_CPLUSPLUSFLAGS': [ '<@(defines)' ],
+ }
+ }, {
+ 'cflags': [ '<@(defines)' ],
+ 'cflags_cc': [ '<@(defines)' ],
+ }]
+ ],
+ },
+
'link_settings': {
'conditions': [
['OS == "mac"', {