commit | 71c4be6bf2df790cef84391d8a663aa3bc532a38 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Aug 13 12:07:30 2020 -0700 |
committer | Jackeagle <jackeagle102@gmail.com> | Sat Dec 12 07:38:38 2020 +0100 |
tree | e61e1abcf7664e553db6bec7b25b0a8553f79881 | |
parent | c191e60eb69609562d714f1fd551fe46e6e06aca [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.