make android-all -> make apackage to be more in line with iOS distribution

This commit is contained in:
Justin R. Miller
2015-09-03 11:51:55 -07:00
parent 4d069207b9
commit 264f3d8679
2 changed files with 8 additions and 4 deletions

View File

@@ -315,6 +315,10 @@ When you plug your device in and then run or debug the Android project you will
If your device does not show up, you have not set it up properly. Double check the [Google documentation](http://developer.android.com/tools/device.html).
### Distribution
Use the `Makefile` target `make apackage` in order to build JNI libraries for all supported ABI's for eventual distribution of the whole package.
### Target
Devices running Android 4.0+ (API level 14+).

View File

@@ -74,10 +74,10 @@ android-lib: ; $(RUN) HOST=android Makefile/androidapp
android: android-lib
cd android/java && ./gradlew --parallel --max-workers=$(JOBS) assemble$(BUILDTYPE)
# Builds all android architectures.
android-all: android-lib-arm-v5 android-lib-arm-v7 android-lib-arm-v8
android-all: android-lib-x86 android-lib-x86-64
android-all: android-lib-mips android-lib-mips-64
# Builds all android architectures for distribution.
apackage: android-lib-arm-v5 android-lib-arm-v7 android-lib-arm-v8
apackage: android-lib-x86 android-lib-x86-64
apackage: android-lib-mips android-lib-mips-64
cd android/java && ./gradlew --parallel-threads=$(JOBS) assemble$(BUILDTYPE)
# Builds the Node.js library