aboutsummaryrefslogtreecommitdiff
path: root/sdk/ModuleDefaults.bp
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/ModuleDefaults.bp')
-rw-r--r--sdk/ModuleDefaults.bp15
1 files changed, 3 insertions, 12 deletions
diff --git a/sdk/ModuleDefaults.bp b/sdk/ModuleDefaults.bp
index 877d9796..c0bf060c 100644
--- a/sdk/ModuleDefaults.bp
+++ b/sdk/ModuleDefaults.bp
@@ -30,8 +30,7 @@ mainline_stubs_args =
"--hide SdkConstant " +
"--hide Todo " +
"--hide Typo " +
- "--hide UnavailableSymbol " +
- "--enhance-documentation "
+ "--hide UnavailableSymbol "
// TODO: modularize this so not every module has the same list
framework_packages_to_document = [
@@ -77,14 +76,8 @@ mainline_service_stubs_args =
java_defaults {
name: "framework-module-common-defaults",
- // Use the source of annotations that affect metalava doc generation, since
- // 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.)
+ // Additional annotations used for compiling both the implementation and the
+ // stubs libraries.
libs: ["framework-annotations-lib"],
// Framework modules are not generally shared libraries, i.e. they are not
@@ -133,8 +126,6 @@ java_defaults {
// Collates API usages from each module for further analysis.
plugins: ["java_api_finder"],
-
- dist_group: "android",
}
// Defaults for mainline module provided java_sdk_library instances.