commit | 4ef23afc9126c7144d87b10327019339192083c2 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Oct 17 17:40:42 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Oct 17 18:01:53 2017 -0700 |
tree | c42d4b20ca2d58acbefb5eac75a19a32c1bfefa5 | |
parent | 957b96b1aecd4acd73c5a8671a00e5a2b1f62114 [diff] |
HTML escape property documentation Property documentation that contained text that looked like HTML tags was getting passed through. Use html/template instead of text/template so that it gets escaped automatically. Bug: 67909957 Test: manual inspection Change-Id: I2050c34c04d7be3cdacd5a76967a739f9f837e89
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.