summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2016-07-12 09:41:24 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-07-12 09:41:24 +0000
commitf0f4ee250d2599515eedfe3a81d4d0892efd4f80 (patch)
treea3078a9a2ce95ff3d7d805ad093a4dc015cccee6
parentf2c6c851d2eb349729613906aeb96370a04fa460 (diff)
parent8cbd3b198dd624461a3b1e3e08c6d9d5e620fedf (diff)
downloadcts-n-iot-preview-2.tar.gz
* changes: Use mockito-target-minus-junit4. android.core.tests.libcore.package.tests: add mockito to the dependencies
-rw-r--r--tests/core/libcore/libcore/Android.mk5
-rw-r--r--tests/core/libcore/tests/Android.mk2
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/core/libcore/libcore/Android.mk b/tests/core/libcore/libcore/Android.mk
index ec6228bfcbb..c9aea5e616b 100644
--- a/tests/core/libcore/libcore/Android.mk
+++ b/tests/core/libcore/libcore/Android.mk
@@ -16,6 +16,9 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := android.core.tests.libcore.package.libcore
-LOCAL_STATIC_JAVA_LIBRARIES := core-tests mockito-api
+# Note that we're not pulling in junit4 here because it's provided by
+# android.test.runner (which might pull in a different version from the
+# one that would be pulled in here).
+LOCAL_STATIC_JAVA_LIBRARIES := core-tests mockito-target-minus-junit4
LOCAL_JAVA_LANGUAGE_VERSION := 1.8
include $(BUILD_CTSCORE_PACKAGE)
diff --git a/tests/core/libcore/tests/Android.mk b/tests/core/libcore/tests/Android.mk
index e9b94226115..6429558580c 100644
--- a/tests/core/libcore/tests/Android.mk
+++ b/tests/core/libcore/tests/Android.mk
@@ -16,6 +16,6 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := android.core.tests.libcore.package.tests
-LOCAL_STATIC_JAVA_LIBRARIES := core-tests mockito-api
+LOCAL_STATIC_JAVA_LIBRARIES := core-tests mockito-target-minus-junit4
LOCAL_JAVA_LANGUAGE_VERSION := 1.8
include $(BUILD_CTSCORE_PACKAGE)