diff options
author | 2024-08-30 00:30:04 +0000 | |
---|---|---|
committer | 2024-08-30 00:30:04 +0000 | |
commit | ad39060b463b869fcd7dc969e867aff75afc2773 (patch) | |
tree | 117fd3f8bd912936b14479c0fbf6a783fbce6248 | |
parent | 02a259011dec677fc7daaf98971cb9b012b7b737 (diff) |
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: I9a90b1e47d5790230496c31e84e5d10f40b1ea70
-rw-r--r-- | tests/activity/Android.bp | 6 | ||||
-rw-r--r-- | tests/integration/Android.bp | 4 | ||||
-rw-r--r-- | tests/shared/Android.bp | 2 | ||||
-rw-r--r-- | tests/unit/Android.bp | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/tests/activity/Android.bp b/tests/activity/Android.bp index f69caf0e..e75fb603 100644 --- a/tests/activity/Android.bp +++ b/tests/activity/Android.bp @@ -27,9 +27,9 @@ android_test { ], libs: [ - "android.test.runner", - "android.test.base", - "android.test.mock", + "android.test.runner.stubs", + "android.test.base.stubs", + "android.test.mock.stubs", "framework", "framework-res", ], diff --git a/tests/integration/Android.bp b/tests/integration/Android.bp index f17df160..b8e32d32 100644 --- a/tests/integration/Android.bp +++ b/tests/integration/Android.bp @@ -26,8 +26,8 @@ android_test { ], libs: [ - "android.test.runner", - "android.test.base", + "android.test.runner.stubs.system", + "android.test.base.stubs.system", "framework", ], resource_dirs: ["res"], diff --git a/tests/shared/Android.bp b/tests/shared/Android.bp index 55188ee3..7a8dbf20 100644 --- a/tests/shared/Android.bp +++ b/tests/shared/Android.bp @@ -25,7 +25,7 @@ java_library { "src/**/*.kt", ], libs: [ - "android.test.mock", + "android.test.mock.stubs.system", "framework", ], static_libs: [ diff --git a/tests/unit/Android.bp b/tests/unit/Android.bp index f8b80c72..ec6588e3 100644 --- a/tests/unit/Android.bp +++ b/tests/unit/Android.bp @@ -27,9 +27,9 @@ android_test { ], libs: [ - "android.test.runner", - "android.test.base", - "android.test.mock", + "android.test.runner.stubs.system", + "android.test.base.stubs.system", + "android.test.mock.stubs.system", "framework", "framework-res", ], |