commit | 709f28242eacdb5b0dafd40b3320e981ad2f5a99 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon May 18 11:56:38 2020 -0700 |
committer | Colin Cross <ccross@android.com> | Mon May 18 12:03:48 2020 -0700 |
tree | 96f629c3891c24f19c0479fedd0f75deb544564e | |
parent | 6f902c4134e52c635977821900e439c7b9b0675c [diff] | |
parent | 2bcc43c60f4a24a067ff5c11e2d752100505c4b3 [diff] |
Merge remote-tracking branch 'aosp/upstream' * aosp/upstream: Support checking syntax of generated Blueprint files Always emit rules for tests and add phony to run them Bug: 155628860 Bug: 156428456 Test: treehugger Change-Id: Ia0e0c8d8d07489c945d4e03d039273cc3f597ac0
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.