Skip to content

Commit

Permalink
[android] Add jni.hpp headers to build
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Mar 4, 2016
1 parent 55c5c3c commit 9e0be73
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function print_flags {
if [ "$(type -t print_${NAME}_flags)" = 'function' ]; then
print_${NAME}_flags
else
local VERSION=`echo "${NAME}_VERSION" | tr "[:lower:]-" "[:upper:]_"`
local VERSION=`echo "${NAME}_VERSION" | tr "[:lower:]-." "[:upper:]__"`
if [ ! -z ${!VERSION:-} ] ; then
mason install ${NAME} ${!VERSION}
for FLAGS in "$@" ; do
Expand Down Expand Up @@ -106,6 +106,7 @@ print_flags rapidjson static_libs cflags ldflags
print_flags gtest static_libs cflags ldflags
print_flags pixelmatch static_libs cflags ldflags
print_flags webp static_libs cflags ldflags
print_flags jni.hpp static_libs cflags ldflags

CONFIG+=" }
}
Expand Down
1 change: 1 addition & 0 deletions gyp/http-android.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'variables': {
'cflags_cc': [
'<@(boost_cflags)',
'<@(jni.hpp_cflags)',
],
'defines': [
'-DMBGL_HTTP_ANDROID'
Expand Down
1 change: 1 addition & 0 deletions platform/android/mapboxgl-app.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
'cflags_cc': [
'<@(boost_cflags)',
'<@(variant_cflags)',
'<@(jni.hpp_cflags)',
],
'libraries': [
'<@(libpng_static_libs)',
Expand Down
1 change: 1 addition & 0 deletions platform/android/scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ LIBZIP_VERSION=0.11.2
GEOJSONVT_VERSION=3.1.0
VARIANT_VERSION=1.0
RAPIDJSON_VERSION=1.0.2
JNI_HPP_VERSION=2.0.0

export MASON_ANDROID_ABI=${MASON_PLATFORM_VERSION}

0 comments on commit 9e0be73

Please sign in to comment.