commit | e3b7ec32c9cc46198f4c3e1d8945f15c3530c2c6 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Sep 20 14:36:10 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Sep 21 15:55:03 2018 -0700 |
tree | 36455b2f5db5c9f8ed2bfc0b0dc4730f1a03e3e9 | |
parent | 112a732a5a3cebb3cc1a03aa2fb32fa49130d8c5 [diff] |
Improve error message for globbed dangling symlink IsDir on a dangling symlink produces ErrNotExist. Manually check if the file exists but is a symlink to report a better error. Test: m checkbuild Change-Id: I3181e74002436d74ec35a0923635835e561030dd
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.