commit | be275236ac6ff9ae4785ba5236d6ead0536c2439 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Thu May 26 10:07:59 2016 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Thu May 26 10:09:35 2016 -0700 |
tree | 8f1dd178b49fe521bea1ef11c558945b2ffb5040 | |
parent | 0499fc9e1edf001ea8b689f97659e263be60199e [diff] |
Add blueprint_go_binary for user-run tools Move these tools from $buildDir/.bootstrap/bin to $buildDir/bin (configurable by the primary builder). Also delay building them until the main stage, and give them a phony target "blueprint_tools".
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.