Merge "Re-submit "Change the default docs build to use module stubs"" am: eb2333936e am: 643efb7cfb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1869971 Change-Id: Id4ffc6505a2da185a17940dbc61e9d956126202a
This commit is contained in:
12
ApiDocs.bp
12
ApiDocs.bp
@@ -112,7 +112,6 @@ stubs_defaults {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Defaults module for doc-stubs targets that use module source code as input.
|
// Defaults module for doc-stubs targets that use module source code as input.
|
||||||
// This is the default/normal.
|
|
||||||
stubs_defaults {
|
stubs_defaults {
|
||||||
name: "framework-doc-stubs-sources-default",
|
name: "framework-doc-stubs-sources-default",
|
||||||
defaults: ["framework-doc-stubs-default"],
|
defaults: ["framework-doc-stubs-default"],
|
||||||
@@ -146,12 +145,6 @@ droidstubs {
|
|||||||
" --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
|
" --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
|
||||||
}
|
}
|
||||||
|
|
||||||
droidstubs {
|
|
||||||
name: "framework-doc-stubs",
|
|
||||||
defaults: ["framework-doc-stubs-sources-default"],
|
|
||||||
args: metalava_framework_docs_args,
|
|
||||||
}
|
|
||||||
|
|
||||||
droidstubs {
|
droidstubs {
|
||||||
name: "framework-doc-system-stubs",
|
name: "framework-doc-system-stubs",
|
||||||
defaults: ["framework-doc-stubs-sources-default"],
|
defaults: ["framework-doc-stubs-sources-default"],
|
||||||
@@ -160,11 +153,8 @@ droidstubs {
|
|||||||
api_levels_sdk_type: "system",
|
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 {
|
droidstubs {
|
||||||
name: "framework-doc-stubs-module-stubs",
|
name: "framework-doc-stubs",
|
||||||
defaults: ["framework-doc-stubs-default"],
|
defaults: ["framework-doc-stubs-default"],
|
||||||
args: metalava_framework_docs_args,
|
args: metalava_framework_docs_args,
|
||||||
srcs: [
|
srcs: [
|
||||||
|
|||||||
Reference in New Issue
Block a user