Convert java_import to java_sdk_library_import
The prebuilt modules must be java_sdk_library_import so that they
can be depended on through the android.test.base name.
Fixes: 130287656
Test: m checkbuild
Test: forrest on unbundled branch
Change-Id: Ic61eb79cc6f026d78f90200c4987712b562e3c9e
diff --git a/current/Android.bp b/current/Android.bp
index 0d5d0b9..0fc48b1 100644
--- a/current/Android.bp
+++ b/current/Android.bp
@@ -1,23 +1,23 @@
-java_import {
- name: "android.test.base.stubs",
+java_sdk_library_import {
+ name: "android.test.base",
jars: ["public/android.test.base.jar"],
sdk_version: "current",
}
-java_import {
- name: "android.test.runner.stubs",
+java_sdk_library_import {
+ name: "android.test.runner",
jars: ["public/android.test.runner.jar"],
sdk_version: "current",
}
-java_import {
- name: "android.test.mock.stubs",
+java_sdk_library_import {
+ name: "android.test.mock",
jars: ["public/android.test.mock.jar"],
sdk_version: "current",
}
-java_import {
- name: "org.apache.http.legacy.stubs",
+java_sdk_library_import {
+ name: "org.apache.http.legacy",
jars: ["public/org.apache.http.legacy.jar"],
sdk_version: "current",
}