summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-02-18 15:53:29 +0900
committerJiyong Park <jiyong@google.com>2018-02-18 15:58:09 +0900
commit56270a4ccda1616dcdf67221a0672ed55903cf36 (patch)
tree83be933062e44432e081fecf37c6c875e512cff0
parent4e547dc748933879cccdf3763bb7ceb4fa972fbf (diff)
downloadnist-pkits-56270a4ccda1616dcdf67221a0672ed55903cf36.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: I24faf106f2f966cc94d401bc3df9b9e8a95ed91e
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 00b806f..42db122 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,8 +18,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_JAVA_RESOURCE_DIRS := res
LOCAL_MODULE := nist-pkix-tests
-LOCAL_JAVA_LIBRARIES := core-oj core-libart junit
-LOCAL_NO_STANDARD_LIBRARIES := true
+LOCAL_JAVA_LIBRARIES := junit
+LOCAL_SDK_VERSION := core_current
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_STATIC_JAVA_LIBRARY)