commit | 5f303b9ee87aac7a1fe66b0a8081fb95f8c02604 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Jul 12 17:04:33 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Jul 13 11:10:39 2017 -0700 |
tree | e249f10c58ae094e188e70df9926bb2ee765858c | |
parent | 26c141fe686b76eaf8254c2ad9ee151ccb191326 [diff] |
Fix tests with TestMain If tests have a TestMain method the os import is unused and breaks building the test. Test: gotestmain/testmain_test.go Change-Id: Ia46cdd0df71b0fc7a53d08644d220ecfd779b2ff
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.