commit | a2bc585afe907e4dc81334708282918001d14c4e | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Sep 06 14:25:28 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Sep 06 14:25:28 2019 -0700 |
tree | 84f69ffbd4020feb8c159797bfa4a56089fbf471 | |
parent | 3f22fcf3a88f0b0f5c66cbf61c95d1326599e4a1 [diff] |
Fix compiling binaries with go 1.13 The go compile command in go 1.13 needs -p main instead of -p $pkgPath when compiling binaries. This also works for older go releases. Also turn on travis for go 1.13. Change-Id: I45ce185aa44cfa01a7933cc6e52290a85c851641
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.