commit | 747b95206b31ac9778d919eb5f6a1ee11d9d388d | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Feb 23 10:28:33 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Feb 23 10:29:46 2021 -0800 |
tree | 47d110b0c409ce25f4aeb6d3cff9888f1285c182 | |
parent | 03355656777936dbac057bd43d2d8ef65434fb59 [diff] |
Add preupload hooks to build/blueprint Run gofmt and bpfmt during preupload, and warn about uses of DO NOT MERGE. Test: repo upload Change-Id: I5f8a318f9ec1dbca897d25f25107df36d160e1f6
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.