platform_build_blueprint/bootstrap
Cole Faust 7add62142d Enforce that providers are not changed
When setProvider() is called, hash the provider and store the hash in
the module. Then after the build is done, hash all the providers again
and compare the hashes. It's an error if they don't match.

Also add a flag to control it in case this check gets slow as we convert
more things to providers. However right now it's fast (unnoticable
in terms of whole seconds) so just have the flag always enabled.

Bug: 322069292
Test: m nothing
Change-Id: Ie4e806a6a9f20542ffcc7439eef376d3fb6a98ca
2024-01-30 15:18:24 -08:00
..
bpdoc Change bpdoc to separate entries with the same type 2021-11-02 15:59:48 +00:00
bpglob Remove the -v argument from bpglob. 2021-11-04 11:48:43 +01:00
bootstrap.go Add implicit inputs to primary builder actions 2024-01-02 16:58:49 -08:00
command.go Enforce that providers are not changed 2024-01-30 15:18:24 -08:00
config.go Add implicit inputs to primary builder actions 2024-01-02 16:58:49 -08:00
glob.go Make RunBlueprint() return an error, if need be. 2023-06-20 09:44:50 +00:00
writedocs.go Export goPackage and goBinary from bootstrap package 2023-06-22 23:50:02 +00:00