summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2021-10-26 14:11:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-10-26 14:11:29 +0000
commit56e85bb8c0066f7de467ebb25bd3cfc93d4dbcb5 (patch)
tree3a92ddfd4377cc6e084daa137268836333768f27
parent0fbf3439b641808b6713a15e9b5022d228ac11df (diff)
parent7333a054d93fe75d7553cbb6707149fc8ae43508 (diff)
Merge "Revert "Change the default docs build to use module stubs""
-rw-r--r--ApiDocs.bp12
1 files changed, 11 insertions, 1 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp
index 8af2e02f8d08..a926ddc218a6 100644
--- a/ApiDocs.bp
+++ b/ApiDocs.bp
@@ -112,6 +112,7 @@ stubs_defaults {
}
// Defaults module for doc-stubs targets that use module source code as input.
+// This is the default/normal.
stubs_defaults {
name: "framework-doc-stubs-sources-default",
defaults: ["framework-doc-stubs-default"],
@@ -146,6 +147,12 @@ droidstubs {
}
droidstubs {
+ name: "framework-doc-stubs",
+ defaults: ["framework-doc-stubs-sources-default"],
+ args: metalava_framework_docs_args,
+}
+
+droidstubs {
name: "framework-doc-system-stubs",
defaults: ["framework-doc-stubs-sources-default"],
args: metalava_framework_docs_args +
@@ -153,8 +160,11 @@ droidstubs {
api_levels_sdk_type: "system",
}
+// Experimental target building doc stubs with module stub source code as input.
+// This is intended to eventually replace framework-doc-stubs, once all diffs
+// have been eliminated.
droidstubs {
- name: "framework-doc-stubs",
+ name: "framework-doc-stubs-module-stubs",
defaults: ["framework-doc-stubs-default"],
args: metalava_framework_docs_args,
srcs: [