commit | 9226d6c9f5c112afa678fbfdcb9528d82ef6b408 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Feb 25 18:07:44 2019 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Feb 26 10:15:40 2019 -0800 |
tree | fb3a8e104fbd8e3fe4839267d0fda59a61258723 | |
parent | d444506bf6383850531162839d09d854a4bba6e1 [diff] |
Allow Context to query Singletons Add Context.Singletons and Context.SingletonName to allow primary builders to query Singletons returned by all registered SingletonFactories. Change-Id: Iee85643dd47f7472e6bb5ae8004374bd6ea0419e
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.