commit | 24ad58713895346828bd2d3d78a88d5bf7d12efb | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Nov 17 16:22:29 2015 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Nov 17 16:47:50 2015 -0800 |
tree | 8263283b19b0f93e35f5db3e5732819936093bf7 | |
parent | f5df83e7ee38c58a6b6bd78bb2940e4bb0e2e3e5 [diff] |
Add variant methods to SingletonContext and Context Add VisitAllModuleVariants, PrimaryModule, and FinalModule to SingletonContext so singletons and tools can deal with modules with multiple variants.
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.