commit | 8c602f7f16ed571918eba4e8e0e0630b3ecd55be | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Dec 17 18:02:11 2015 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Dec 17 18:02:58 2015 -0800 |
tree | bf0c3751337c3346056489776428cce5d200f2c2 | |
parent | eb97a6e7a1afa6d4817545bec3304e906ecc35f7 [diff] |
Add ModuleSubDir to Context and SingletonContext Singletons may need ModuleSubDir, for example to implement a stable sort on modules. Add ModuleSubDir to SingletonContext and Context.
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.