Add module-defined APIs to module-(app|lib)
These APIs should really leave in individual .txt files,
but had them here for the moment to make sure there is *some*
tracking of the surface.
Bug: 147768409
Test: m module-app-api-check-current-api
Test: m module-lib-api-check-current-api
Test: patch I97ef83f7f9b4c1376f373713036f5256318f1050 && the above `m`
Change-Id: Ia0a48b9f6e45fccbe67b369b61660d88b5000a44
diff --git a/StubLibraries.bp b/StubLibraries.bp
index cdc0d32..6927f44 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -181,7 +181,7 @@
// They however are NOT used for building the API stub.
droidstubs {
name: "module-app-api",
- defaults: ["metalava-non-updatable-api-stubs-default"],
+ defaults: ["metalava-api-stubs-default"],
libs: ["framework-all"],
arg_files: ["core/res/AndroidManifest.xml"],
args: metalava_framework_docs_args +
@@ -211,7 +211,7 @@
droidstubs {
name: "module-lib-api",
- defaults: ["metalava-non-updatable-api-stubs-default"],
+ defaults: ["metalava-api-stubs-default"],
libs: ["framework-all"],
arg_files: ["core/res/AndroidManifest.xml"],
args: metalava_framework_docs_args +
@@ -245,7 +245,7 @@
// the ones with 'client=MODULE_LIBRARIES'.
droidstubs {
name: "module-app-api-stubs-docs",
- defaults: ["metalava-non-updatable-api-stubs-default"],
+ defaults: ["metalava-api-stubs-default"],
libs: ["framework-all"],
arg_files: ["core/res/AndroidManifest.xml"],
args: metalava_framework_docs_args +
@@ -259,7 +259,7 @@
droidstubs {
name: "module-lib-api-stubs-docs",
- defaults: ["metalava-non-updatable-api-stubs-default"],
+ defaults: ["metalava-api-stubs-default"],
libs: ["framework-all"],
arg_files: ["core/res/AndroidManifest.xml"],
args: metalava_framework_docs_args +