summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-12-17 16:57:35 +0000
committerAnton Hansson <hansson@google.com>2020-12-23 14:51:17 +0000
commitfc948d8675ef20d8e59ff1fa9b3ccddb9ee00aa2 (patch)
tree115f1e182a4818dd570263f7b636d49cfde8d86a /StubLibraries.bp
parentf435d200b7d1ed1742eba36194da71abdfcaa19f (diff)
Unbundle ART API from android-non-updatable
Stop tracking the ART APIs in the non-updatable current.txt, and instead add in the txt/srcjar/jar files produced by the art module's java_sdk_library. Bug: 173606718 Test: manual last_released check of merged api txt (b/174847574 to automate) Change-Id: I446a381f2b364a114ce391b99a13742d6769f14d
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index 4b28352c85ff..ed8781e2ff86 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -47,7 +47,6 @@ stubs_defaults {
"core/java/**/*.logtags",
":opt-telephony-srcs",
":opt-net-voip-srcs",
- ":art.module.public.api{.public.stubs.source}",
"**/package.html",
],
sdk_version: "none",
@@ -240,6 +239,7 @@ java_library_static {
name: "android_stubs_current",
srcs: [ ":api-stubs-docs-non-updatable" ],
static_libs: [
+ "art.module.public.api.stubs",
"conscrypt.module.public.api.stubs",
"framework-media.stubs",
"framework-mediaprovider.stubs",
@@ -258,6 +258,7 @@ java_library_static {
name: "android_system_stubs_current",
srcs: [ ":system-api-stubs-docs-non-updatable" ],
static_libs: [
+ "art.module.public.api.stubs",
"conscrypt.module.public.api.stubs",
"framework-media.stubs.system",
"framework-mediaprovider.stubs.system",
@@ -292,6 +293,7 @@ java_library_static {
static_libs: [
// Modules do not have test APIs, but we want to include their SystemApis, like we include
// the SystemApi of framework-non-updatable-sources.
+ "art.module.public.api.stubs",
"conscrypt.module.public.api.stubs",
"framework-media.stubs.system",
"framework-mediaprovider.stubs.system",
@@ -328,6 +330,7 @@ java_library_static {
"android_stubs_dists_default",
],
libs: ["sdk_system_29_android"],
+ static_libs: ["art.module.public.api.stubs"],
dist: {
dir: "apistubs/android/module-lib",
},