summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2018-02-14 10:55:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-02-14 10:55:54 +0000
commit9c1fa866c6cdd296f7a218330b9f62f22c1aac5f (patch)
tree00e7f1cd1c919b30ac621f4cf43dcef22bb3f424
parentfa514a8f3d1258e6940e8f2c7550cd2dc5a19939 (diff)
parent21e85cb4ddc0cbfe02789328b2fe5629d5b184f9 (diff)
downloadmockwebserver-9c1fa866c6cdd296f7a218330b9f62f22c1aac5f.tar.gz
Merge "Revert "Build mockwebserver with core_current"" am: 7c05da77a1
am: 21e85cb4dd Change-Id: Ic1ee8922daa66dde68728bbf950bd8045eb2ac06
-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)