commit | a64ca94c0d9f5c56ba8ad4a70fba2d6b0a8df8f1 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jan 21 13:47:59 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Jan 21 13:47:59 2021 -0800 |
tree | 5f34b06fc6c5acf44b9d735b2a683118a38b6189 | |
parent | 4604a81721007a79e6b4fc5ed4a78ebde95d6cc0 [diff] |
Return a copy of glob lists Callers to glob methods may do in-place modifications on the returned list of globs, return a copy instead of the cached value. Test: m nothing && m nothing Change-Id: Ic9140d1e1900e8724ba0a484f27786e5c15dea90
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.