Skip to content

Commit

Permalink
Use junit-hostdex instead of core-junit-hostdex/junit4-target-hostdex
Browse files Browse the repository at this point in the history
A recent change in external/junit changes junit-hostdex so it
includes all JUnit classes not just the ones not in
core-junit-hostdex and not in junit4-target-hostdex. This change
updates this project to use junit-hostdex instead of either of
or even both of the other two.

Bug: 30188076
Test: make checkbuild and art/tools/run-libcore-tests.sh '--mode=host' '--variant=X32'
Change-Id: Ib7e9c42ea68ef6f4dab90ae894c73248ff04ce4c
  • Loading branch information
paulduffin committed Nov 25, 2016
1 parent a8c8b96 commit 1eac8b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions JavaLibrary.mk
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under, dalvik/test-rules/src/main test-rules/src/main)
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_MODULE := core-test-rules-hostdex
LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex core-junit-hostdex
LOCAL_STATIC_JAVA_LIBRARIES := junit4-target-hostdex
LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex
LOCAL_STATIC_JAVA_LIBRARIES := junit-hostdex
include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)

include $(CLEAR_VARS)
Expand Down Expand Up @@ -359,7 +359,7 @@ ifeq ($(LIBCORE_SKIP_TESTS),)
LOCAL_SRC_FILES := $(test_src_files)
LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs)
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex okhttp-hostdex bouncycastle-hostdex core-junit-hostdex junit4-target-hostdex core-tests-support-hostdex mockito-api-hostdex
LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex okhttp-hostdex bouncycastle-hostdex junit-hostdex core-tests-support-hostdex mockito-api-hostdex
LOCAL_STATIC_JAVA_LIBRARIES := sqlite-jdbc-host mockwebserver-host nist-pkix-tests-host core-test-rules-hostdex
LOCAL_JAVACFLAGS := $(local_javac_flags)
LOCAL_MODULE_TAGS := optional
Expand All @@ -375,7 +375,7 @@ ifeq ($(LIBCORE_SKIP_TESTS),)
LOCAL_SRC_FILES := $(call all-test-java-files-under,support)
LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs)
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex core-junit-hostdex junit4-target-hostdex bouncycastle-hostdex
LOCAL_JAVA_LIBRARIES := core-oj-hostdex core-libart-hostdex junit-hostdex bouncycastle-hostdex
LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-bcpkix-hostdex bouncycastle-ocsp-hostdex
LOCAL_JAVACFLAGS := $(local_javac_flags)
LOCAL_MODULE_TAGS := optional
Expand Down

0 comments on commit 1eac8b3

Please sign in to comment.