commit | f23e36690e1e76551535b9479e3285425331a862 | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Thu Nov 30 17:31:43 2017 -0800 |
committer | Jeff Gaston <jeffrygaston@google.com> | Mon Dec 04 17:16:21 2017 -0800 |
tree | a7c42932be39d4cf355370edcde9d0cb8e4302f5 | |
parent | 3c8c3346d2c3eef85ce99ab58bd8aa07a53d6bc1 [diff] |
Disallow bp 'build' includes to reference other dirs Bug: 65683273 Test: add 'build = ["sub/nope.bp"]' to an Android.bp; notice the error Change-Id: Ic0f171f283edda074f65a76029e660dfaab2504b
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.