commit | 210897114524136d6a0f063ea022e55f1e779339 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Jun 30 14:33:38 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Jun 30 14:33:38 2015 -0700 |
tree | 2e5e79ad4a20ba311c481600e5203f17e0cfdb3d | |
parent | 9c067caf2eb549433469532a56d855795aeabec5 [diff] |
Add convenience methods to Comment objects Add String() to print out the Comment, Text() to print out the Comment while stripping /*, //, and */, and EndLine() to return the line number of the last line of the comment. Change-Id: I076bc0990143acfc03c42a8cc569894fced8ee24
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.