commit | a26ae899039179ee9bd1f039506629d88e55ae0a | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Mar 25 16:14:37 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Mon May 20 14:57:36 2019 -0700 |
tree | a0759e1b94aa6618f692476c73b158679f1ccfdf | |
parent | a4cc6837db1f8c5a27544fad8bcabe7b4f542b30 [diff] |
Simplify pathtools.Match filepath.Match has always supported hierarchical patterns (a/*), so pathtools.Match can be significantly simplified by reusing filepath.Match directly instead of recursively stepping through the path elements using filepath.Match on each one. Test: glob_test.go Change-Id: I8af59ee880f0402609b994922bafb1961fcabcf3
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.