summaryrefslogtreecommitdiff
path: root/android/mapboxgl-app.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'android/mapboxgl-app.gyp')
-rw-r--r--android/mapboxgl-app.gyp20
1 files changed, 12 insertions, 8 deletions
diff --git a/android/mapboxgl-app.gyp b/android/mapboxgl-app.gyp
index e12205ea76..5933db4c19 100644
--- a/android/mapboxgl-app.gyp
+++ b/android/mapboxgl-app.gyp
@@ -22,7 +22,7 @@
],
'cflags_cc': [
- '-I<(boost_root)/include',
+ '<@(boost_cflags)',
],
'libraries': [
'<@(openssl_static_libs)',
@@ -73,16 +73,20 @@
'copies': [
{
- 'files': [ '<(PRODUCT_DIR)/lib.target/libmapbox-gl.so' ],
- 'destination': '<(pwd)/java/lib/src/main/jniLibs/$(JNIDIR)'
- },
- {
- 'files': [ '../common/ca-bundle.crt' ],
+ 'files': [
+ '../common/ca-bundle.crt',
+ '../styles/styles'
+ ],
'destination': '<(pwd)/java/lib/src/main/assets'
},
+ ],
+
+ 'actions': [
{
- 'files': [ '../styles/styles' ],
- 'destination': '<(pwd)/java/lib/src/main/assets'
+ 'action_name': 'Strip dynamic library',
+ 'inputs': [ '<(PRODUCT_DIR)/lib.target/libmapbox-gl.so' ],
+ 'outputs': [ '<(pwd)/java/lib/src/main/jniLibs/$(JNIDIR)/libmapbox-gl.so' ],
+ 'action': [ '$(STRIP)', '<@(_inputs)', '-o', '<@(_outputs)' ]
},
],
},