From ba8f3c25cf91a632cbb955b9ddb1bd90c9710ccc Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Tue, 10 Oct 2023 18:52:20 +0000 Subject: Remove framework-doc-only-libs They don't seem to do anything. All the docs compile without them and I don't see any additional warnings/errors being printed. If they actually do something, the list is almost certainly incomplete anyway. Test: m docs Change-Id: I1bda7c4cc1d882d80cfe38ee734643c9eed030dc --- api/ApiDocs.bp | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'api/ApiDocs.bp') diff --git a/api/ApiDocs.bp b/api/ApiDocs.bp index 8d8fc12ebc4d..b1178fca64da 100644 --- a/api/ApiDocs.bp +++ b/api/ApiDocs.bp @@ -20,41 +20,6 @@ // The API doc generation is done by the various droiddoc modules each of which // is for different format. -///////////////////////////////////////////////////////////////////// -// stub source files are generated using metalava -///////////////////////////////////////////////////////////////////// - -framework_docs_only_libs = [ - "voip-common", - "android.test.mock", - "android-support-annotations", - "android-support-compat", - "android-support-core-ui", - "android-support-core-utils", - "android-support-design", - "android-support-dynamic-animation", - "android-support-exifinterface", - "android-support-fragment", - "android-support-media-compat", - "android-support-percent", - "android-support-transition", - "android-support-v7-cardview", - "android-support-v7-gridlayout", - "android-support-v7-mediarouter", - "android-support-v7-palette", - "android-support-v7-preference", - "android-support-v13", - "android-support-v14-preference", - "android-support-v17-leanback", - "android-support-vectordrawable", - "android-support-animatedvectordrawable", - "android-support-v7-appcompat", - "android-support-v7-recyclerview", - "android-support-v8-renderscript", - "android-support-multidex", - "android-support-multidex-instrumentation", -] - // These defaults enable doc-stub generation, api lint database generation and sdk value generation. stubs_defaults { name: "android-non-updatable-doc-stubs-defaults", @@ -65,7 +30,6 @@ stubs_defaults { ":android-test-mock-sources", ":android-test-runner-sources", ], - libs: framework_docs_only_libs, create_doc_stubs: true, write_sdk_values: true, } @@ -197,7 +161,7 @@ doc_defaults { name: "framework-docs-default", sdk_version: "none", system_modules: "none", - libs: framework_docs_only_libs + [ + libs: [ "stub-annotations", "unsupportedappusage", ], -- cgit v1.2.3-59-g8ed1b