commit | 7d4958d84c24c4d4820b0039ddf570ac675e86bc | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Feb 08 15:34:08 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Feb 08 15:56:43 2021 -0800 |
tree | b5381d1b82e0a5003ee0698709020a67f1b6ac1f | |
parent | e09509592d34f4491a371045c218fdf2bfbccd0d [diff] |
Fix detecting cycles in parallelVisit Fix detecting cycles in parallelVisit when the first alphabetical module is not part of the cycle, but depends on the cycle. Instead of starting from the first alphabetical module, check every module in a determinsitic order and return the first time a cycle is found. Test: Test_parallelVisit Change-Id: I03726f838ec42975251088ba75158103940115c2
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.