commit | 9cfd198dd88927db0c6ac6717a055a59551455a3 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Oct 11 09:58:53 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Oct 12 13:33:37 2016 -0700 |
tree | 37b01c843a5d92d0cf77e67389c6a2b43c239140 | |
parent | c4e5b8157bfe8d68f59f4b607cf1fdd56202d649 [diff] |
Add ReplaceDependencies ReplaceDependencies allows a module to replace dependencies on a matching variant of a target module with itself. Change-Id: I22946dec23c38ed5e1ad23b87121d72668268c01
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.