commit | 9a103c0ed49718e26a38e1836258ba19061b1485 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 30 16:38:08 2015 -0800 |
committer | Colin Cross <ccross@android.com> | Wed Mar 04 13:57:21 2015 -0800 |
tree | 6a34fd79693c6522e48bde17cda24bfc590ef726 | |
parent | c4b691f2fb3e4ecbdd10244e705098602c945533 [diff] |
Modify printer to be stricter about extra newlines The printer was allowing extra newlines in odd places, for example between a property name and the '=' in a module definition. Make newline location stricter by explicitly allowing newlines or line comments.
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja (http://martine.github.io/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 langauge 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.