Generate specific message for build flag declarations artifact

Many of the fields in `flag_artifact` are not valid in
the all_build_flag_definitions artifact.

Bug: 328495189
Test: manual
Ignore-AOSP-First: cherry-pick
Merged-In: I00eab1ef76f67f7db2118a6fc0d5771e3dd39fbb
Change-Id: I00eab1ef76f67f7db2118a6fc0d5771e3dd39fbb
This commit is contained in:
LaMont Jones
2024-05-22 13:14:40 -07:00
parent d2c2f4091c
commit a2cbf72b2a
11 changed files with 688 additions and 180 deletions

View File

@@ -73,7 +73,7 @@ func main() {
(*flagArtifacts)[*fa.FlagDeclaration.Name] = fa
}
message := flagArtifacts.GenerateFlagArtifacts()
message := flagArtifacts.GenerateFlagDeclarationArtifacts()
err = rc_lib.WriteFormattedMessage(flags.output, flags.format, message)
if err != nil {
errorExit(err)