commit | ea5995439c9a228ec496a5d12901b8b0bc27ccab | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jan 07 11:16:48 2016 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Jan 07 17:24:15 2016 -0800 |
tree | ab7baf0acb0e1365d5831445afdb127b6b3b8e4d | |
parent | 2acf987b8b8e6fa10052023d0fccd84925eec334 [diff] |
Colorize errors Prefix errors with "error:" or "internal error:" colored in red using ANSI codes. Ninja will strip the ANSI codes when build output is not going to a terminal that can handle ANSI codes.
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.