tag | 58c8d215a3d10886470521ff30e6e9834352abc7 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Dec 11 10:13:48 2017 -0800 |
object | 058a24de5b93b58f8a74891d54edd117d98ad6ab |
Android O IOT Preview 6 (4475743)
commit | 058a24de5b93b58f8a74891d54edd117d98ad6ab | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Wed Nov 29 12:57:19 2017 -0800 |
committer | Jeff Gaston <jeffrygaston@google.com> | Wed Nov 29 13:14:27 2017 -0800 |
tree | 0291d8b85b9c6743e0522102ae43cd6a32f31a3c | |
parent | 9b145212c9df9245419bf2fae004138ba2a492e9 [diff] | |
parent | 94c21796661a04496cb6eb4aae5635cdea9dfe1c [diff] |
Merge remote-tracking branch 'aosp/upstream' into master * aosp/upstream: Extract module naming into an interface Bug: 65683273 Test: build/soong/scripts/diff_build_graphs.sh \ --products=aosp_arm \ 'build/blueprint:work^ build/soong:work^' \ 'build/blueprint:work build/soong:work' # and see that the only changes were: # 1. adding some new files # 2. changing some line numbers Test: m -j nothing # which runs unit tests Change-Id: I2a2f958579fc6f96fad0eb06a5f98c93b80459b3
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.