From 01977217a6fa56a5e587468165555ccbd31f2b8b Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Thu, 17 Oct 2024 00:05:13 +0000 Subject: Modify disabled flags to be exposed in keep-flagged-apis Currently, keep-flagged-apis filters flags that are disabled (so that the apis associated with the disabled flags are not exposed in the "exportable" stubs), but sdk_with_runtime_apis product builds require disabled flagged apis to be exposed. Filtering of the flags should be done by aconfig, and keep-flagged-apis should only convert the list of flags to the metalava-consumable format. Test: lunch sdk_with_runtime_apis-trunk_staging-eng && m sdk dist and observe outputs Bug: 371248797 Change-Id: If1622a6b81bc69a99e8f89c60a11ebec7899b95b --- java/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/builder.go') diff --git a/java/builder.go b/java/builder.go index e5d510923..895ddb6f9 100644 --- a/java/builder.go +++ b/java/builder.go @@ -301,7 +301,7 @@ var ( gatherReleasedFlaggedApisRule = pctx.AndroidStaticRule("gatherReleasedFlaggedApisRule", blueprint.RuleParams{ - Command: `${aconfig} dump-cache --dedup --format='{fully_qualified_name}={state:bool}' ` + + Command: `${aconfig} dump-cache --dedup --format='{fully_qualified_name}' ` + `--out ${out} ` + `${flags_path} ` + `${filter_args} `, -- cgit v1.2.3-59-g8ed1b