diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2017-03-01 12:38:46 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-01 12:38:46 +0000 |
commit | 2baece252fc77206c0f894ea3ca060166292ca7e (patch) | |
tree | 27bbc22a588ff927aebaafda553bd719061eb3ba | |
parent | df2c3e714db448cad644b5d550e0f833615d4b50 (diff) | |
parent | 832e01a0990daeec7b22bbb6466409f679865d82 (diff) | |
download | okhttp-2baece252fc77206c0f894ea3ca060166292ca7e.tar.gz |
Merge "Add a -testdex variant for ART run-tests." am: 5edf30c23d
am: 832e01a099
Change-Id: If1f7eeb23b38f6556a200a460401f17d7c275907
-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 |