commit | d28b304d30eb34a1167c92edcccfb913763dfde9 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Mar 01 13:43:09 2019 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Mar 01 13:44:15 2019 -0800 |
tree | 315b79b737723bacc4654343b1dc8cfe3147cf0b | |
parent | bf8c1d31d9cb9ade9efa50ccbe6ae5bb7c1eb343 [diff] |
Add more OtherModule* methods Add OtherModuleDir, OtherModuleSubDir, and OtherModuleType to ModuleContext and TopDownMutatorContext, and add ModuleType to BaseModuleContext. Change-Id: If5c873a2620ef10333c0bdba5ab89d4256e5fdf2
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.