commit | 23d7aa1b68c96e10d871ce8a06a8dca2c6d99a2f | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Jun 30 16:05:22 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Jun 30 16:43:32 2015 -0700 |
tree | 3f880712a1eb8eb8398401ddd88bfc55e7f76844 | |
parent | 210897114524136d6a0f063ea022e55f1e779339 [diff] |
Refactor parsing to allow reuse Refactor parsing Blueprints and walking the Blueprints tree to allow reuse for tasks that don't involve creating moduleInfo structures. Change-Id: I677857a3462999426c8306432074ea97fdcb86c8
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.