summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2018-02-14 10:47:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-02-14 10:47:17 +0000
commit7c05da77a1780c14304430c19fb3d322c6b5d110 (patch)
tree00e7f1cd1c919b30ac621f4cf43dcef22bb3f424
parent137de20af4b52438a77d891cb19f3f7bd4702b71 (diff)
parent38c85889c425c5303f9bd8e34a01412b0b33b067 (diff)
downloadmockwebserver-7c05da77a1780c14304430c19fb3d322c6b5d110.tar.gz
Merge "Revert "Build mockwebserver with core_current""
-rw-r--r--Android.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index ad2433b..3134ef5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -21,10 +21,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(mockwebserver_src_files)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := mockwebserver
-# Some tests (CtsVerifier, etc) that are built with SDK are using this library,
-# thus this lib should be built with public APIs. Since this lib is not specific
-# to Android, core_current which is a core-Java subset of Android SDK is used.
-LOCAL_SDK_VERSION := core_current
+LOCAL_JAVA_LIBRARIES := core-oj core-libart
+LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_STATIC_JAVA_LIBRARY)