commit | b53f7beb7222bf6dbadbb9d5d540acdc6d52e191 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Jan 18 14:42:09 2017 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Jan 18 14:42:09 2017 -0800 |
tree | c300ac8861decc7553c75e4917ca393d1e18a090 | |
parent | 10e4357dbb7b0b4e50fe595771a8cb8175d23150 [diff] |
gotestrunner: Make GOROOT absolute before chdir If GOROOT is a relative path (like it is in Android), then changing directories to run the test will cause GOROOT to become invalid. So make it absolute if we're going to change to a different directory. This allows tests to use the go tools without searching for a valid go installation. Change-Id: Ifab0a8533d236054ccf363dfb68b12e0bf66f6f8
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.