aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-02-18 15:53:36 +0900
committerJiyong Park <jiyong@google.com>2018-02-18 15:58:19 +0900
commit8ed83fa0a47fa8dfd5cc6b1437109beda7182d3b (patch)
tree499fd6f497a792c4d9079324405e65817cf0161b
parent63b140791fbb0bceabc496bdd29e108d9597b044 (diff)
downloadslf4j-8ed83fa0a47fa8dfd5cc6b1437109beda7182d3b.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: I7f15c3b4aca1bdf1b57a5457322f7a01ddccee88
-rw-r--r--Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index ea8495db..860b7082 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,8 +24,7 @@ LOCAL_SRC_FILES := $(slf4j-common_src_files) $(slf4j-jdk14_src_files)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := slf4j-jdk14
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
-LOCAL_JAVA_LIBRARIES := core-oj core-libart
-LOCAL_NO_STANDARD_LIBRARIES := true
+LOCAL_SDK_VERSION := core_current
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(CLEAR_VARS)