sdk: add fips_packages.txt output to package_list (#4792)
First in a series that re-lands #4631 (GOFIPS140 toolchain support) in
smaller pieces.
This adds a `fips_packages` attribute and a `fips_out` output to
`package_list`. The SDK build file declares `fips_packages.txt` as that
output. The file is empty for every SDK, and nothing reads it yet, so
there is no change to `packages.txt` or to any build.
Later PRs in the series will fill the file with the GOFIPS140 snapshot
packages and make the stdlib builder read it.
Tested with a new analysis test that checks the file is written sorted,
one entry per line. I also built `@go_default_sdk//:fips_packages.txt`
and confirmed it is empty, and built `//tests/core/go_binary:hello`.
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
3 files changed