diff options
author | Paul Duffin <paulduffin@google.com> | 2016-11-29 12:59:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-11-29 12:59:36 +0000 |
commit | 0547748be095602ffee6b68e9c2299a369dacfb6 (patch) | |
tree | cd297c886a4ce7b1cbd6b4eb9bb1e3d3f1077a42 | |
parent | 172e38f556e890d9f6dfcc06e2434852e5383f9d (diff) | |
parent | abb1d53c75cdbccd26a792e35be800991fd2f504 (diff) | |
download | junit-0547748be095602ffee6b68e9c2299a369dacfb6.tar.gz |
Merge "Added core-junit-static for use by frameworks/base/legacy-test"
-rw-r--r-- | Android.mk | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -79,6 +79,19 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.m include $(BUILD_JAVA_LIBRARY) # ---------------------------------- +# build a core-junit-static target jar that is embedded into legacy-test + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := $(call all-java-files-under, src/junit/extensions) +LOCAL_SRC_FILES += $(core-junit-files) +LOCAL_NO_STANDARD_LIBRARIES := true +LOCAL_JAVA_LIBRARIES := core-oj core-libart +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE := core-junit-static +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk +include $(BUILD_STATIC_JAVA_LIBRARY) + +# ---------------------------------- # build a core-junit-hostdex jar that contains exactly the same classes # as core-junit. |