diff options
author | Paul Duffin <paulduffin@google.com> | 2016-11-30 13:39:54 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-11-30 13:39:54 +0000 |
commit | dd173eb2f7260f70b20f461270d58274770994e1 (patch) | |
tree | e887e8fbf4756f6346623c176b19752b0773357b | |
parent | 25fe9e56f7240635dce8ed52887232c89b56e0e4 (diff) | |
parent | 37e5f7a0cbb3fae39c4e173eb3c810ebec6e07e1 (diff) | |
download | junit-dd173eb2f7260f70b20f461270d58274770994e1.tar.gz |
Merge "Removed unused targets"
am: 37e5f7a0cb
Change-Id: I63171dd9024fab73b685ed7952d570c0cf931827
-rw-r--r-- | Android.mk | 57 |
1 files changed, 0 insertions, 57 deletions
@@ -91,22 +91,6 @@ 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. - -ifeq ($(HOST_OS),linux) -include $(CLEAR_VARS) -# TODO: remove extensions once apache-harmony/luni/ is no longer dependent -# on it -LOCAL_SRC_FILES := $(call all-java-files-under, src/junit/extensions) -LOCAL_SRC_FILES += $(core-junit-files) -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE := core-junit-hostdex -LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk -include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) -endif # HOST_OS == linux - #------------------------------------------------------- # build a junit-runner jar for the host JVM # (like the junit classes in the frameworks/base android.test.runner.jar) @@ -121,19 +105,6 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.m include $(BUILD_STATIC_JAVA_LIBRARY) #------------------------------------------------------- -# build a junit-runner for the host dalvikvm -# (like the junit classes in the frameworks/base android.test.runner.jar) - -include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(junit-runner-files) -LOCAL_MODULE := junit-runner-hostdex -LOCAL_MODULE_TAGS := optional -LOCAL_NO_STANDARD_LIBRARIES := true -LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex core-junit-hostdex -LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk -include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) - -#------------------------------------------------------- # build a junit4-target jar representing the # classes in external/junit that are not in the core public API 4 # Note: 'core' here means excluding the classes that are contained @@ -148,31 +119,3 @@ LOCAL_SDK_VERSION := 4 LOCAL_STATIC_JAVA_LIBRARIES := hamcrest LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk include $(BUILD_STATIC_JAVA_LIBRARY) - -#------------------------------------------------------- -# Same as above, but does not statically link in dependencies - -include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(junit4-target-src) -LOCAL_MODULE := junit4-target-nodeps -LOCAL_MODULE_TAGS := optional -LOCAL_SDK_VERSION := 4 -LOCAL_JAVA_LIBRARIES := hamcrest -LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk -include $(BUILD_STATIC_JAVA_LIBRARY) - -#------------------------------------------------------- -# Same as above, but for host dalvik. However, since we don't have -# the SDK to provide the junit.framework.* classes, we must add -# an extra library. - -ifeq ($(HOST_OS),linux) -include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(junit4-target-src) -LOCAL_MODULE := junit4-target-hostdex -LOCAL_MODULE_TAGS := optional -LOCAL_JAVA_LIBRARIES := core-junit-hostdex -LOCAL_STATIC_JAVA_LIBRARIES := hamcrest-hostdex -LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk -include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) -endif # HOST_OS == linux |