commit | 61fa603f927dd127d379edd5de0d6062300a5f39 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Apr 16 14:41:40 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Apr 16 14:44:41 2018 -0700 |
tree | 9030234ee2628f4b12308a87612636e0dac49d5b | |
parent | 148f9f316ee6f9c4a0af225912c1c7a5ab31b03e [diff] |
Return an error when renaming a module that doesn't exist Misusing Rename was causing a nil pointer derefernece, return an error if group was not found in s.modules. Bug: 77922456 Change-Id: I7e7b20b1595d569ae07c755bd29d701e0e5dab78
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.