commit | 3b6c68cd9e8e01e2f91e34e2d534e41fc6afbacc | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 22 17:05:34 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Jan 22 17:05:34 2021 -0800 |
tree | 3b233e4c86fcd08c6408b05cc1cc5360db9c2b75 | |
parent | eecfdd316b0292a0a28f67bfcbcf1109359aec92 [diff] | |
parent | 22343ff42c4443ce84f86f147c46bf4200b0acd5 [diff] |
Merge remote-tracking branch 'aosp/upstream' * aosp/upstream: Optimize updateDependencies Write build definitions directly to output writer Memoize full names of variables, pools and rules Optimize arg parsing in buildDef.WriteTo Increase ninja file writer buffer Use io.StringWriter in ninjaWriter Test: m checkbuild Change-Id: I8ff3ca4a95c351809b62af841e9bb77b2de7d1ed
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.