Enhance documentation in mainline stubs am: ee390f26eb am: e8e98efe4b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1827251 Change-Id: Ib62126f1b20129ad353a61942455a69bcbcddd6e
This commit is contained in:
@@ -30,7 +30,8 @@ mainline_stubs_args =
|
|||||||
"--hide SdkConstant " +
|
"--hide SdkConstant " +
|
||||||
"--hide Todo " +
|
"--hide Todo " +
|
||||||
"--hide Typo " +
|
"--hide Typo " +
|
||||||
"--hide UnavailableSymbol "
|
"--hide UnavailableSymbol " +
|
||||||
|
"--enhance-documentation "
|
||||||
|
|
||||||
// TODO: modularize this so not every module has the same list
|
// TODO: modularize this so not every module has the same list
|
||||||
framework_packages_to_document = [
|
framework_packages_to_document = [
|
||||||
@@ -76,8 +77,14 @@ mainline_service_stubs_args =
|
|||||||
java_defaults {
|
java_defaults {
|
||||||
name: "framework-module-common-defaults",
|
name: "framework-module-common-defaults",
|
||||||
|
|
||||||
// Additional annotations used for compiling both the implementation and the
|
// Use the source of annotations that affect metalava doc generation, since
|
||||||
// stubs libraries.
|
// the relevant generation instructions are themselves in javadoc, which is
|
||||||
|
// not present in class files.
|
||||||
|
api_srcs: [":framework-metalava-annotations"],
|
||||||
|
|
||||||
|
// Make the source retention annotations available on the classpath when compiling
|
||||||
|
// the implementation library. (This should be in impl_only_libs but some modules
|
||||||
|
// use these defaults for java_library, sigh.)
|
||||||
libs: ["framework-annotations-lib"],
|
libs: ["framework-annotations-lib"],
|
||||||
|
|
||||||
// Framework modules are not generally shared libraries, i.e. they are not
|
// Framework modules are not generally shared libraries, i.e. they are not
|
||||||
|
|||||||
Reference in New Issue
Block a user