Merge "Refactor merged annotations creation" am: 24f473395d am: 6ca396706d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2132125

Change-Id: I42b2f8b7e4bfbee7077a658753304af0debbf4b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Anton Hansson
2022-06-24 19:33:38 +00:00
committed by Automerger Merge Worker
2 changed files with 23 additions and 12 deletions

View File

@@ -193,6 +193,23 @@ genrule {
"$(location :frameworks-base-api-module-lib-current.txt)",
}
// This produces the same annotations.zip as framework-doc-stubs, but by using
// outputs from individual modules instead of all the source code.
genrule {
name: "sdk-annotations.zip",
srcs: [
":android-non-updatable-doc-stubs{.annotations.zip}",
":all-modules-public-annotations",
],
out: ["annotations.zip"],
tools: [
"merge_annotation_zips",
"soong_zip",
],
cmd: "$(location merge_annotation_zips) $(genDir)/out $(in) && " +
"$(location soong_zip) -o $(out) -C $(genDir)/out -D $(genDir)/out",
}
genrule {
name: "combined-removed-dex",
visibility: [