commit | aca422058341fa613a735f2eaab76f5e15f05de7 | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Wed Aug 23 17:30:05 2017 -0700 |
committer | Jeff Gaston <jeffrygaston@google.com> | Fri Sep 01 17:29:30 2017 -0700 |
tree | 5d09faabc221557c5438b775f8e0ef3a77c3dfca | |
parent | 18a0d2e9b5d0c3f753e527da95e10779ed0f20fe [diff] |
Clearer error in case of Android.bp being unreadable Bug: 64600838 Test: mkdir errtest \ && ln -s /tmp/dontexist errtest/Android.bp \ # and add errtest to ./Android.bp \ && m nothing \ # and check that the error message mentions a symlink Change-Id: I841ec12d613f61ccc3396538062bee48c8c1ca27
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.