summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--StubLibraries.bp4
-rw-r--r--apex/Android.bp4
2 files changed, 8 insertions, 0 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index de6d6f69f79f..c51801869e22 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -193,6 +193,10 @@ droidstubs {
api_tag_name: "MODULE_LIB",
arg_files: ["core/res/AndroidManifest.xml"],
args: metalava_framework_docs_args + module_libs,
+
+ // Do not generate stubs as they are not needed
+ generate_stubs: false,
+
check_api: {
current: {
api_file: "api/module-lib-current.txt",
diff --git a/apex/Android.bp b/apex/Android.bp
index 0b9802db7bb7..c381c0f100a5 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -122,6 +122,10 @@ stubs_defaults {
installable: false,
sdk_version: "module_current",
filter_packages: framework_packages_to_document,
+
+ // Do not generate stubs as they are not needed
+ generate_stubs: false,
+
check_api: {
current: {
api_file: "api/module-lib-current.txt",