aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2016-11-29 11:03:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-11-29 11:03:15 +0000
commit172e38f556e890d9f6dfcc06e2434852e5383f9d (patch)
tree585e3c3f1f1db64a44c9070e81c831dafc7be1a8
parentc6d1951d8ccf4ab3bcc584ff7c3c189a927d340b (diff)
parente2846ab03910843e8c3f7a4b7323d65044586d3a (diff)
downloadjunit-172e38f556e890d9f6dfcc06e2434852e5383f9d.tar.gz
Merge "Change junit-targetdex to contain all JUnit classes"
-rw-r--r--Android.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index a9132e8..57a1c77 100644
--- a/Android.mk
+++ b/Android.mk
@@ -41,14 +41,12 @@ include $(BUILD_HOST_JAVA_LIBRARY)
# build a junit-targetdex jar
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := $(call all-java-files-under, src/junit/extensions)
-LOCAL_SRC_FILES += $(core-junit-files)
-LOCAL_SRC_FILES += $(junit-runner-files)
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
# TODO: lose the suffix here and rename "junit" to "junit-hostdex"
LOCAL_MODULE := junit-targetdex
-LOCAL_NO_STANDARD_LIBRARIES := true
-LOCAL_JAVA_LIBRARIES := core-oj core-libart
LOCAL_MODULE_TAGS := tests
+LOCAL_STATIC_JAVA_LIBRARIES := hamcrest
+# The following is needed by external/apache-harmony/Android_debug_config.mk
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/junit
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk
include $(BUILD_JAVA_LIBRARY)