commit | e0e473efb4893d5d6e34e6a641465d48afa13cea | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Aug 29 15:07:16 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Aug 29 15:12:33 2016 -0700 |
tree | d43943fb3e3dd092f9baf8fb6a5837495cc8ab19 | |
parent | b9fb0ad53dcfbe55e0fc8a6cfd7216392545b9f4 [diff] |
Add NewBuiltinRule and NewBuiltinPool Allow Blueprint build statements and rules to reference rules and pools defined outside of Blueprint. Change-Id: I48644497d16a4c2bab88db400dbe7f7fe169d933
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.