commit | e81b432f0949e9baef3fa57f48fd4c5152e054f9 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 26 16:53:26 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Sep 26 16:54:15 2018 -0700 |
tree | fc0bea529e02997cc806547844bd269f43b3216d | |
parent | d85b3c78c73b31b2b1d310beae8943e189666214 [diff] |
Add pathtools.FileSystem.Readlink Readlink is used by soong_zip. Add it to the FileSystem interface and add tests for it. Test: fs_test.go Change-Id: Ie8ca5cd7cae98a47980a50d2891501fe79fd47a5
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.