commit | df4ed95f4354f00b7051140592c436272a7719df | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Wed Sep 18 00:59:02 2019 +0900 |
committer | Jiyong Park <jiyong@google.com> | Sun Sep 22 07:44:52 2019 +0900 |
tree | e6b43d1dbd20fcba5f3808c8fa3bdd785987207b | |
parent | 658e01c1d788e634729830449d111e951c88cd21 [diff] |
Don't ignore local variations when creating reverse dep This fixes a bug that reverse dependency can't be made for modules having local variations. Previously, when module A having local variants calls AddReverseDependency to module B having local variants, the match is tested between the non-local variants of module A against all variants of module B, which can never be successful. This change fixes it by using all variants of module A when findMatchingVariants is called for AddReverseDependency. Test: m Change-Id: Ib289188a5dd58c72bd6ba07e3c0f825f8b1c6b1b
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.