commit | 6cd6ebc7681e2991ce57346d71952ae32f9a00ad | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Thu Oct 05 19:46:15 2017 -0700 |
committer | Jeff Gaston <jeffrygaston@google.com> | Wed Oct 18 15:11:18 2017 -0700 |
tree | 6f8d85a6f81d94d5c6aed5557f07f15659429aa9 | |
parent | 5fa3f89f2cc180d223aee468e3a1298604f01d25 [diff] |
Refactor in preparation to detect when stdout is the input file Test: bpfmt -d Android.bp Bug: 67326589 Change-Id: I5cd57a784848f70c7a1306161c40faa8e79cd44e
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.