commit | 192dbc59c10fd4051a9a07eaf7fcb7815dc3d212 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 26 16:49:55 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Sep 26 16:54:15 2018 -0700 |
tree | 104cca8091b39834b2d62be46ad9b91547f64a0e | |
parent | daf9de1999305e892af87d501ac251c74dbac563 [diff] |
Make pathtools.FileSystem.Open return a ReaderAtSeekerCloser Both *os.File and *bytes.Buffer support all of io.Reader, io.ReaderAt, io.Seeker and io.Closer. Return a combo interface so that soong_zip can use the result in an io.SectionReader. Test: m checkbuild Change-Id: I31c3ce35e28c52bae20b536b5905de2f8a3d1478
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.