commit | 49c279ab2614c8bc614f93e13c6137887c0ab395 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Aug 05 22:30:44 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Aug 10 16:31:35 2016 -0700 |
tree | fa82097ef0f25e91ab83c4b86dcc7c701b5b5966 | |
parent | f8b5042c86a818f7666ccd40c46be88bc2be0a7a [diff] |
Parallelize BottomUpMutators Allow BottomUpMutators to run in parallel by calling Parallel() on the return value of RegisterBottomUpMutator. To avoid locking, moves updates of global state into a separate goroutine that receives updates over channels from the mutator goroutines. Change-Id: Ic59b612da9b406cf59ec44940f0c1dee0c051a51
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.