diff options
-rw-r--r-- | Android.mk | 9 | ||||
-rw-r--r-- | Common.mk | 16 |
2 files changed, 3 insertions, 22 deletions
@@ -111,17 +111,12 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.m include $(BUILD_STATIC_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 -# in the optional library android.test.runner. Developers who -# build against this jar shouldn't have to also include android.test.runner +# build a junit4-target jar as an alias for junit include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(junit4-target-src) LOCAL_MODULE := junit4-target LOCAL_MODULE_TAGS := optional LOCAL_SDK_VERSION := 25 -LOCAL_STATIC_JAVA_LIBRARIES := hamcrest +LOCAL_STATIC_JAVA_LIBRARIES := junit hamcrest LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk include $(BUILD_STATIC_JAVA_LIBRARY) @@ -3,7 +3,7 @@ # Shared with frameworks/base. # based off libcore/Docs.mk # Exports: -# core-junit-files, junit-runner-files, junit_to_document, junit4-target-src. +# core-junit-files, junit-runner-files, junit_to_document. # They are lists of .java files relative to external/junit/. ifndef junit4_common_include_once @@ -44,19 +44,5 @@ junit_to_document := \ $(core-junit-files) \ $(junit-runner-files) -# List of source to build into junit4 target jars -# -junit4-target-src := \ -$(call find-files-in-subdirs, external/junit, \ - "*.java", \ - src/org \ - src/junit/extensions \ - src/junit/runner \ - src/junit/textui) \ -src/junit/framework/ComparisonCompactor.java \ -src/junit/framework/JUnit4TestAdapterCache.java \ -src/junit/framework/JUnit4TestAdapter.java \ -src/junit/framework/JUnit4TestCaseFacade.java - junit4_common_include_once := 1 endif # junit4_common_include_once |