From e4553d02a5627b13f74f550bf48a6861e3722ad1 Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Thu, 7 Nov 2024 19:40:30 +0000 Subject: Depend on exportable mainline module stubs for doc generation This change modifies the dependency graph of framework-doc-stubs to depend on the exportable stub source jar of the mainline modules, so that the flagged apis symbols are not elided. Test: m doc dist && unzip -l out/dist/offline-sdk-docs-docs.zip | grep "android/configinfrastructure/aconfig" Bug: 377585897 Change-Id: I2de643c27417a0ccb21016a3bc495127f3a30f81 --- api/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/Android.bp') diff --git a/api/Android.bp b/api/Android.bp index 7ef00b006949..a98d1d4b4156 100644 --- a/api/Android.bp +++ b/api/Android.bp @@ -192,7 +192,7 @@ java_genrule { cmd: "$(location merge_zips) $(out) $(in)", srcs: [ ":api-stubs-docs-non-updatable{.exportable}", - ":all-modules-public-stubs-source", + ":all-modules-public-stubs-source-exportable", ], visibility: ["//visibility:private"], // Used by make module in //development, mind } -- cgit v1.2.3-59-g8ed1b