diff --git a/Android.bp b/Android.bp index e50241af0bd81..48757b470f5d4 100644 --- a/Android.bp +++ b/Android.bp @@ -1052,6 +1052,24 @@ droiddoc { " -showAnnotation android.annotation.TestApi", } +droiddoc { + name: "hiddenapi-mappings", + defaults: ["framework-docs-default"], + arg_files: [ + "core/res/AndroidManifest.xml", + ":api-version-xml", + "core/java/overview.html", + ":current-support-api", + ], + dex_mapping_filename: "dex-mapping.txt", + args: framework_docs_args + + " -referenceonly" + + " -nodocs" + + " -showUnannotated" + + " -showAnnotation android.annotation.SystemApi" + + " -showAnnotation android.annotation.TestApi", +} + filegroup { name: "apache-http-stubs-sources", srcs: [