commit | 110018c978e929004ae2f97e66f42f220e2e28a0 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Fri Mar 06 00:29:24 2020 +0000 |
committer | Jackeagle <jackeagle102@gmail.com> | Sat Dec 12 07:38:30 2020 +0100 |
tree | fa1ae0f1163dd93f7bbb10a14f323319106d682f | |
parent | ea7e0bfc0d4586e2046cd328a4d2e6e694ed783c [diff] |
Add ctx.OtherModule(Reverse)DependencyVariantExists. This allows guarding calls to AddVariationDependencies and AddReverseDependency to register dependencies on optional modules. Change-Id: Ie43b8606f226b098daf00c4276412a98617d3f15
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.