commit | 741e14ebb944f9349346f2259fb539b631c69676 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Dec 07 22:02:40 2017 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Dec 08 10:12:42 2017 -0800 |
tree | bf98a223236d54e5b6e52c3699cf8e91b9e077eb | |
parent | 7a88d0db4d06b39809e6915f27063bd704a948e7 [diff] |
Limit length of glob result file names Glob names were appending every excluded file, which could result in too many / characters for ninja to handle. Use a hash if the result contains too many / characters. Change-Id: I88920f0596df49639a6c2b4f8af47ea8fdc1ee5a
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.