diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2017-03-01 12:36:12 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-01 12:36:12 +0000 |
commit | 832e01a0990daeec7b22bbb6466409f679865d82 (patch) | |
tree | 27bbc22a588ff927aebaafda553bd719061eb3ba | |
parent | e7a565e3610b46f4200a778a52b850a3d91861c3 (diff) | |
parent | 5edf30c23dcc8b6b233fef7139625c85d34109d4 (diff) | |
download | okhttp-832e01a0990daeec7b22bbb6466409f679865d82.tar.gz |
Merge "Add a -testdex variant for ART run-tests."
am: 5edf30c23d
Change-Id: I74a9fecf5f9d9a2a21558738248dc41a38deab5a
-rw-r--r-- | Android.mk | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -52,6 +52,20 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_JAVA_LANGUAGE_VERSION := 1.7 include $(BUILD_JAVA_LIBRARY) +# A guaranteed unstripped version of okhttp. +# The build system may or may not strip the okhttp jar, but this one will +# not be stripped. See b/24535627. +include $(CLEAR_VARS) +LOCAL_MODULE := okhttp-testdex +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(okhttp_system_src_files) +LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt +LOCAL_JAVA_LIBRARIES := core-oj core-libart +LOCAL_NO_STANDARD_LIBRARIES := true +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk +LOCAL_JAVA_LANGUAGE_VERSION := 1.7 +include $(BUILD_JAVA_LIBRARY) + # non-jarjar'd version of okhttp to compile the tests against include $(CLEAR_VARS) LOCAL_MODULE := okhttp-nojarjar |