commit | 5f763d05115af3b9dd7b27a1b5a7f9463ef8c617 | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Tue Aug 08 14:43:58 2017 -0700 |
committer | Jeff Gaston <jeffrygaston@google.com> | Mon Oct 30 15:00:19 2017 -0700 |
tree | d34e2285d429afb3531d227284f11a2d2bde49ff | |
parent | eb6192cf669ca2a0db71dcd41674fdfc6a6563c4 [diff] |
Clarify context.go somewhat in preparation to support parsing a predefined list of Blueprints files Bug: 64363847 Test: m -j Change-Id: I98cc98dc17ecaf69b95272d32cd83adbdb0e8c5b
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.