summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2016-11-28 16:44:44 +0000
committer Paul Duffin <paulduffin@google.com> 2016-11-28 16:44:44 +0000
commit21cf84f8b3561d61e39d77cc00c520951f1ddd0f (patch)
tree707c83c6695acf708cccb7ecc2f4d1a55cf9cfcf
parentd7e597a2e7843b7269d4972abae820424c9d460e (diff)
Use junit-host instead of junit
Bug: 30188076 Test: make checkbuild Change-Id: I5d3efbfbe3245a631113674bff1b0aabdc9fe8be
-rw-r--r--tools/layoutlib/create/tests/Android.mk2
-rw-r--r--tools/preload2/Android.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/layoutlib/create/tests/Android.mk b/tools/layoutlib/create/tests/Android.mk
index dafb9c6f9402..61e381d48b16 100644
--- a/tools/layoutlib/create/tests/Android.mk
+++ b/tools/layoutlib/create/tests/Android.mk
@@ -23,7 +23,7 @@ LOCAL_JAVA_RESOURCE_DIRS := data mock_data
LOCAL_MODULE := layoutlib-create-tests
LOCAL_MODULE_TAGS := optional
-LOCAL_JAVA_LIBRARIES := layoutlib_create junit
+LOCAL_JAVA_LIBRARIES := layoutlib_create junit-host
LOCAL_STATIC_JAVA_LIBRARIES := asm-5.0
include $(BUILD_HOST_JAVA_LIBRARY)
diff --git a/tools/preload2/Android.mk b/tools/preload2/Android.mk
index 09d95ffe3506..769db6bd3ead 100644
--- a/tools/preload2/Android.mk
+++ b/tools/preload2/Android.mk
@@ -12,7 +12,7 @@ LOCAL_STATIC_JAVA_LIBRARIES += perflib-prebuilt trove-prebuilt guavalib
# For JDWP access we use the framework in the JDWP tests from Apache Harmony, for
# convenience (and to not depend on internal JDK APIs).
-LOCAL_STATIC_JAVA_LIBRARIES += apache-harmony-jdwp-tests-host junit
+LOCAL_STATIC_JAVA_LIBRARIES += apache-harmony-jdwp-tests-host junit-host
LOCAL_MODULE:= preload2