Make java_sdk_library dependencies explicit
modules should specify the submodule of java_sdk_library that the module
actually depends on
Test: CI
Bug: 358613520
Change-Id: Id3c451dcf7c858674ff6fa71b3edf6c7773c2812
diff --git a/tests/Android.bp b/tests/Android.bp
index a8c2774..a5aa34b 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -21,10 +21,10 @@
name: "ONSTests",
srcs: ["src/com/android/ons//**/*.java"],
libs: [
- "android.test.runner",
+ "android.test.runner.stubs.system",
"telephony-common",
- "android.test.mock",
- "android.test.base",
+ "android.test.mock.stubs.system",
+ "android.test.base.stubs.system",
],
static_libs: [
"androidx.test.rules",