commit | a4fae90d1e64f84d980d4cb8615fdaa7daa40313 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Oct 03 15:58:50 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Oct 05 16:06:15 2017 -0700 |
tree | e2524d38c153cfcdc7ce298c2d748085d9c80d82 | |
parent | b67c1d433cf9359a4fb5e30babfa7df10c965bf0 [diff] |
Fix recursive glob on MockFs Recursive globs on MockFs were ending up in an unmocked os.Lstat call in walkAllDirs. Move walkAllDirs into the FileSystem interface as ListDirsRecursive. Also duplicate the glob tests on both the real filesystem and on MockFs. Test: glob_test.go Change-Id: Ia6b6b5eecdd17955a49d684a0fd5e55df05cfe62
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.