diff options
author | Tobrun <tobrun@mapbox.com> | 2016-03-31 09:16:53 +0200 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-03-31 16:03:40 -0500 |
commit | 42f6987c79f22bb9446b6991254e71055066ba5b (patch) | |
tree | 53427a85ccef27b7f33ac99d0641bf08d74f53ba /platform/android | |
parent | 35cb8849cca6664652bc78301d68523e7d52b631 (diff) | |
download | qtlocation-mapboxgl-42f6987c79f22bb9446b6991254e71055066ba5b.tar.gz |
[android] #4529 - update DISTRIBUTE.md
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/DISTRIBUTE.md | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/platform/android/DISTRIBUTE.md b/platform/android/DISTRIBUTE.md index eb21979347..2b107ba77d 100644 --- a/platform/android/DISTRIBUTE.md +++ b/platform/android/DISTRIBUTE.md @@ -1,3 +1,33 @@ # Distributing Mapbox GL Native for Android -Use the `Makefile` target `make apackage` in order to build JNI libraries for all supported ABI's for eventual distribution of the whole package. +Depending on your use-case, you might want to support a subset of ABI's. +This can be achieved using the different `Makefile` targets we expose. + +##### Build JNI libraries for all supported ABI's + +``` +make apackage +``` + +This will build libraries to support following ABI: + - arm-v5 + - arm-v7 + - arm-v8 + - x86 + - x86-64 + - mips + + +##### Build JNI libraries for a specific ABI + +``` +make android-lib-% +``` + +In the command above you need to replace `%` with an ABI mentioned above. Eg. + +``` +make android-lib-x86 +``` + +This will build the JNI library for the x86 architecture.
\ No newline at end of file |