diff options
author | 2024-10-17 00:05:13 +0000 | |
---|---|---|
committer | 2024-10-17 00:05:13 +0000 | |
commit | 01977217a6fa56a5e587468165555ccbd31f2b8b (patch) | |
tree | 357e5f93ad668a227e28942927d844ba6a197524 /java/builder.go | |
parent | 70c43ec62fd900cdff7aa0fa724dc2318b1acbfd (diff) |
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
Diffstat (limited to 'java/builder.go')
-rw-r--r-- | java/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
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} `, |