commit | badc8817fa6d9a683a2e966c338966ed0557ef70 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Aug 11 17:01:46 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Aug 11 17:03:26 2016 -0700 |
tree | 3c93408e6a6697eac8ab5c9cf253c403b8083413 | |
parent | 056963fe71c769d33cc8e1a4969e0ec843a75b64 [diff] |
Elide empty variations Don't add a "_" to the variant name if the variation name is empty. For example, when splitting a variant with name "foo" into variations "" and "bar", the new variants would be named "foo" and "foo_bar" instead of "foo_" and "foo_bar". Change-Id: I82342d57e2a8e9f2d65a7d8d2872dcb7b3512899
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.