commit | c4773d90a24137b98249e1d5e8974ab09a14dff3 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Aug 25 17:12:59 2020 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Sep 16 12:58:39 2020 -0700 |
tree | 886be2a50d3e1fdebfa7d93bde4a0c6b0614861c | |
parent | 4b3efdc5b875cc79058c069fffa38ca65d4eb0ab [diff] |
Support pausing parallelVisit Pass a channel to visitor functions called by parallelVisit that allows them to pause the current visitor until a given visitor has finished. This allows parallelVisit to work on a dependency graph while it is being mutated. Test: Test_parallelVisit Change-Id: Id8b1542c22ac9914439310e31d992ae0d7318d69
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.