aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Li <weiwli@google.com>2023-12-07 16:33:18 -0800
committerWei Li <weiwli@google.com>2023-12-08 00:38:25 +0000
commitdf22e5851359483df80e44f6417223e41a3d7f2c (patch)
tree0b47e19ddb8f32015d8bf49d8cc8ed9ff308c61f
parent020295edbf1237744b7cac332d6f756a3f4aedd5 (diff)
downloadTV-df22e5851359483df80e44f6417223e41a3d7f2c.tar.gz
Fix the dependency of TVUnitTests which is a device test and should depend on mockito-target instead of mockito-robolectric-prebuilt.
See the bug for more details. Bug: 309878241 Test: acloud create --build-target cf_x86_tv_gtv-trunk_staging-userdebug && atest TVUnitTests Change-Id: Iad01967330fea74d537cd260b8e9e3bf492c1577
-rw-r--r--tests/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Android.bp b/tests/Android.bp
index 50f2f715..f09cbfb7 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -27,7 +27,7 @@ android_test {
srcs: ["unit/src/**/*.java"],
static_libs: [
"androidx.test.runner",
- "mockito-robolectric-prebuilt",
+ "mockito-target",
"tv-test-common",
],
libs: [