commit | 07a91f072c8e8c78b21f792a6f40f038ae22945f | [log] [tgz] |
---|---|---|
author | Lukacs T. Berki <lberki@google.com> | Wed Mar 17 15:01:51 2021 +0100 |
committer | Lukacs T. Berki <lberki@google.com> | Wed Mar 17 15:01:51 2021 +0100 |
tree | c885819fdf16f56984c7fd1e2d0cd64b11f86b1c | |
parent | b3b9cb6ccc67a88bb33d359fb6b76f55b5d54ba5 [diff] |
Add a flag to compile Go code for debugging. This makes it possible to debug the primary builder without manually adding the respective flags to the compilation command lines. Test: "m nothing", "m nothing" with debugging, then "m nothing" again Change-Id: I7d403af48528a94e5e0033d9a5c1fa9981100cfd
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.