From 13788c56859fcd8a8e4999d7553a0864c0176a10 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 18 Jan 2017 02:58:10 +0100 Subject: android: Add ndk-build makefile to build JNI library for android viewers. Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c3ff2482..8b423144 100644 --- a/Makefile +++ b/Makefile @@ -422,6 +422,10 @@ debug: $(MAKE) build=debug android: generate - $(MAKE) -C platform/android/viewer + ndk-build -j8 \ + APP_BUILD_SCRIPT=platform/java/Android.mk \ + APP_PROJECT_PATH=build/android \ + APP_PLATFORM=android-16 \ + APP_OPTIM=$(build) .PHONY: all clean nuke install third libs apps generate -- cgit v1.2.3