commit | d2c8162ca921ae57cd21ed0a18993853e113f658 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Mon May 07 16:11:42 2018 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Mon May 07 16:15:33 2018 -0700 |
tree | 6e61436099212be908d3a26411f3aa25a3ca7344 | |
parent | 1e428e0c050c36ab9003b92e38c1a77aa33b12ab [diff] |
Improve indentation for multi-line expressions When someone used a multiline string: cmd: "..." + "...", bpfmt used to print this out as: cmd: "..." + "...", This change doesn't do the quote alignment like I see in some of our user-created instances of this, but it does indent a single level: cmd: "..." + "...", Test: unit tests Test: Compared bpfmt results before and after across AOSP Change-Id: I61bf790be9d08a187857b2725facf71e8b38e372
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.