summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-02-18 15:53:13 +0900
committerJiyong Park <jiyong@google.com>2018-02-18 15:58:00 +0900
commit48ddf9e8c10d2b2b956924f3e6da4b9d13787480 (patch)
tree1c4c34cefdd24ad6f517812fedadba610ec74f0f
parenta98e55fca4d6aa55549f8c2c80034f2d04118cf6 (diff)
downloadmockftpserver-48ddf9e8c10d2b2b956924f3e6da4b9d13787480.tar.gz
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: Ia60e44081da351d76d548526f9532517274f5cba
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 8ac44b3..6e38ab2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,9 +22,9 @@ LOCAL_SRC_FILES := $(mockftpserver_src_files)
LOCAL_JAVA_RESOURCE_DIRS := MockFtpServer/src/main/resources
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := mockftpserver
-LOCAL_JAVA_LIBRARIES := slf4j-jdk14 core-oj core-libart
+LOCAL_JAVA_LIBRARIES := slf4j-jdk14
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
-LOCAL_NO_STANDARD_LIBRARIES := true
+LOCAL_SDK_VERSION := core_current
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(CLEAR_VARS)