diff options
author | Paul Duffin <paulduffin@google.com> | 2016-11-25 15:59:31 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2016-11-29 13:15:39 +0000 |
commit | 745e053b0b96f1b8ff30d93758be0441d9e78b93 (patch) | |
tree | e887e8fbf4756f6346623c176b19752b0773357b /Android.mk | |
parent | 0547748be095602ffee6b68e9c2299a369dacfb6 (diff) | |
download | junit-745e053b0b96f1b8ff30d93758be0441d9e78b93.tar.gz |
Removed unused targets
Removes:
* core-junit-hostdex
* junit-runner-hostdex
* junit4-target-nodeps
* junit4-target-hostdex
Bug: 30188076
Test: make checkbuild
Change-Id: If7313dad3e9d313cd950f187d0cf5dfd675d3a74
Diffstat (limited to 'Android.mk')
-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 |