commit | b89d91c67ccfefc8ff0293dbe1fa931c491137c1 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 17 16:52:47 2020 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Jan 21 11:49:27 2020 -0800 |
tree | 48f93341777e932fd5ef45161b0f3b5ddae6a8ef | |
parent | 6ea3f9ddd2fc8ec9815c8e4c7095bff91f0714c8 [diff] |
Make FilterPropertyStructSharded smarter FilterPropertyStructSharded was just sharding the top level properties into groups of 10. For nested property structs this can be insufficient - there could be a single top level property with many properties below it. Take a maximum name size, and track the size used by parent structs to determine when sharding a nested struct is necessary. Bug: 146234651 Test: filter_test.go Change-Id: I5b5ed11ea27a0325b2fd6c2c3fb427ea1e2af0c2
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.