diff options
-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 |