Move conscrypt.module...stubs to external/conscrypt
Test: m checkbuild
Bug: 141742596
Change-Id: I38a6392db396a748655cb73f0defcdffe9aea885
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index 3dc4363..0931bcf 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -731,6 +731,7 @@
java_library {
name: "art.module.public.api.stubs",
visibility: [
+ "//external/conscrypt",
"//external/icu/android_icu4j",
],
srcs: [":art-module-public-api-stubs-gen"],
@@ -750,6 +751,7 @@
java_system_modules {
name: "art-module-public-api-stubs-system-modules",
visibility: [
+ "//external/conscrypt",
"//external/icu/android_icu4j",
"//external/wycheproof",
],
@@ -766,35 +768,6 @@
],
}
-// Generates stubs for the parts of the public SDK API provided by the conscrypt module.
-//
-// Only for use by conscrypt.module.public.api.stubs target below.
-droidstubs {
- name: "conscrypt-module-public-api-stubs-gen",
- srcs: [
- ":conscrypt_public_api_files",
- ],
- java_version: "1.9",
- installable: false,
- sdk_version: "none",
- libs: [
- "art.module.public.api.stubs",
- ],
-}
-
-// A stubs target containing the parts of the public SDK API provided by the conscrypt module.
-java_library {
- name: "conscrypt.module.public.api.stubs",
- srcs: [":conscrypt-module-public-api-stubs-gen"],
- errorprone: {
- javacflags: [
- "-Xep:MissingOverride:OFF",
- ],
- },
- sdk_version: "none",
- system_modules: "art-module-public-api-stubs-system-modules",
-}
-
// A stubs target containing the parts of the public SDK API provided by the
// core library.
//