commit | 3adb2409648d6f8b25354ac47f083dae87731f10 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 15 20:09:51 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Jan 15 22:21:28 2021 -0800 |
tree | c2a2bf6ce948954736c6b52033880045936b3f38 | |
parent | f6ef1558843fc847e15dd11516e20f098b1ad325 [diff] |
Fix silently ignoring values assigned to map properties Values assigned to map properties were silently ignored instead of reported as an error. Add a check when recursing into structs that the value is a map. Fixes: 177706602 Test: m nothing Test: TestUnpackErrors Change-Id: Ic56aeb1b9da6d5c86b6d98adae7bddb60c450404
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.