commit | ced59eeaf1d32486e6e2cd348d87f2cd387fcbdf | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Sat Nov 05 08:37:33 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Sat Nov 05 14:52:57 2016 -0700 |
tree | 6220e80b493ee63e81307df5aa4388f08742ddfc | |
parent | 09e03f31f619c7ee20a0785d71173d644d25da2e [diff] |
Add better error message when stat returns nil Sometimes os.Stat on a path seems to return nil after filepath.Glob returned the path as valid. Return the error message to see why. Bug: 32676828 Test: builds Change-Id: Ieedddb673b4d641e5de08778febeb3d8ea025c0d
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.