From 125b0a76390689e8372023c9f0427ce76c7229df Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Wed, 10 Jan 2024 00:59:12 +0000 Subject: [PATCH] Update released flagged apis rule The aconfig command has been recently updated to fully specify the output format instead of passing the keyword format (e.g., bool). This change reflects the change in the aconfig tool. Test: m art.module.public.api && inspect the generate released-flagged-apis-exportable.txt output Change-Id: I620b7f34c346288ca87342448f50a0e90813304f --- java/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/builder.go b/java/builder.go index e9218a792..085e7a17f 100644 --- a/java/builder.go +++ b/java/builder.go @@ -277,7 +277,7 @@ var ( gatherReleasedFlaggedApisRule = pctx.AndroidStaticRule("gatherReleasedFlaggedApisRule", blueprint.RuleParams{ - Command: `${aconfig} dump --format bool ` + + Command: `${aconfig} dump-cache --format='{fully_qualified_name}={state:bool}' ` + `--out ${out} ` + `${flags_path} ` + `${filter_args} `,