Build a AAR archive alongside the APK

This commit is contained in:
Paul Rouget 2018-07-18 20:48:38 +08:00
parent 78e90d6358
commit e8af185a3d
16 changed files with 396 additions and 236 deletions

View file

@ -17,6 +17,6 @@ MY_LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PATH:= $(SERVO_TARGET_DIR)
LOCAL_MODULE := servo
LOCAL_MODULE := servojni
LOCAL_SRC_FILES := libsimpleservo.so
include $(PREBUILT_SHARED_LIBRARY)

View file

@ -1,4 +1,4 @@
NDK_TOOLCHAIN_VERSION := 4.9
APP_MODULES := c++_shared servo
APP_MODULES := c++_shared servojni
APP_PLATFORM := android-18
APP_STL:= c++_shared