summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-02-18 15:38:33 +0900
committerJiyong Park <jiyong@google.com>2018-02-18 15:54:40 +0900
commit145c0ffce4744c2664655c7019c4e70319b0f2ec (patch)
treed0730e974535201a7cba8edc683b66bcf8cb3db9
parentc8a176f72c180745aae9de0febccffe6252f3374 (diff)
downloadjavasqlite-145c0ffce4744c2664655c7019c4e70319b0f2ec.tar.gz
Build with core_current
This lib has been built with core-libart and core-oj which include private APIs. In order to prevent this lib from depending on the private APIs in the future, directly dependency to the core libraries are replaced with the pseudo-sdk stub called 'core_current' that has public core Java APIs only. Bug: 72206056 Test: mma -j under this directory Change-Id: Ibbf011337885c624a3aefe45dd590d88342567c0
-rw-r--r--Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index f7a3f20..5b7ef64 100644
--- a/Android.mk
+++ b/Android.mk
@@ -4,8 +4,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under,src/main/java)
-LOCAL_NO_STANDARD_LIBRARIES := true
-LOCAL_JAVA_LIBRARIES := core-oj core-libart
+LOCAL_SDK_VERSION := core_current
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := sqlite-jdbc
include $(BUILD_STATIC_JAVA_LIBRARY)