commit | edc41769fecd8fa3f26c6f2fc168611d38aae92c | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Aug 13 12:07:30 2020 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Aug 14 11:15:58 2020 -0700 |
tree | 55bb1aee49ebc05e3d7c7242fe338c40bf008b77 | |
parent | 576b0fd577a021a118f3d8f68d498771b0184443 [diff] |
Combine variant fields into variant struct Combine variant, variations and dependencyVariations into a single struct. Test: blueprint tests Change-Id: I76811bb2bdf76f1b4cffc6a7b9bc7362ecb5f7b9
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.