commit | b3f96c3306b94ba2ccf5777e7bc6d43b6d060460 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue May 17 17:37:16 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Oct 12 13:33:37 2016 -0700 |
tree | 6463ade89b4c4dc34063d7491f2a9eb7b5ff155f | |
parent | 0b7e83e11aac64119ed78291e62d9c6b9f47a2a9 [diff] |
Add OtherModuleExists Allow dependency modifying mutators to check if another module exists based on its name. Allows primary builders to have custom handling for missing-module errors, for example by falling back to another module. Change-Id: I04ddd66be43c514f1f8928e15b2a79cadebcfc17
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.