commit | 4db5a3f78394ffd54da082c11526b7722df7725e | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Tue Dec 05 17:08:15 2017 -0800 |
committer | Jeff Gaston <jeffrygaston@google.com> | Tue Dec 05 17:08:35 2017 -0800 |
tree | ea6a2938846e709b6d83f038cebf2f883b5fc5a8 | |
parent | 20eab856abb6d44bdf7fdbef42f2494c0be4d19c [diff] | |
parent | 7a88d0db4d06b39809e6915f27063bd704a948e7 [diff] |
Merge remote-tracking branch 'aosp/upstream' into master * aosp/upstream: prevent file=nil panic if syntax error in Blueprints have openAndParse use return values rather than channels rename parseOneAsync to openAndParse Update microfactory compile error message to show the command that failed Test: see tests on individual commits Change-Id: I5faa4c8f5bc1a3845f7c7fcdbd5edb8d4e000acc
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.