[android] #4529 - update DISTRIBUTE.md

This commit is contained in:
Tobrun
2016-03-31 09:16:53 +02:00
committed by Brad Leege
parent 35cb8849cc
commit 42f6987c79

View File

@@ -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.