diff options
author | 2023-10-10 18:52:20 +0000 | |
---|---|---|
committer | 2023-10-11 15:42:42 +0000 | |
commit | ba8f3c25cf91a632cbb955b9ddb1bd90c9710ccc (patch) | |
tree | b4ab5c22ce3dd1763fd881c9f2cb69bb0c4196f8 /api/ApiDocs.bp | |
parent | 65370ed5ceb03ac853930d5e285bb6e24f204027 (diff) |
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
Diffstat (limited to 'api/ApiDocs.bp')
-rw-r--r-- | api/ApiDocs.bp | 38 |
1 files changed, 1 insertions, 37 deletions
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", ], |