commit | 0aa6a5f0ad42debe76a90173de7d10f1ecda3ba0 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jan 07 13:43:09 2016 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Jan 07 17:24:26 2016 -0800 |
tree | cb45623aebbf2dea0379f4e3091f17943aef6a8c | |
parent | ea5995439c9a228ec496a5d12901b8b0bc27ccab [diff] |
Catch panics in build logic Catch panics in the build logic in order to provide extra data on when the panic occurred, for example which module had GenerateBuildActions called on it.
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.