commit | f7104c0ad658fb4d7824d97a2f1f2e6ec2ee888f | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Feb 28 14:38:42 2019 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Feb 28 14:38:42 2019 -0800 |
tree | 012c662c88f1e13d633346489b2f57bdd6919ea5 | |
parent | 284c742a3322e1f0a02df7aefb7a3be071bbcff2 [diff] |
Support go 1.12 go 1.12 changed the stack trace of a function call during global variable initialization to contain a function called "PKG.init.ializers". Fix callerName to split the package path and function name on the first "." after the last "/", and look for functions called "init.ializers" or functions with the prefix "init." Change-Id: Ic2190837a8c4cde075f727bd69dd18d517a0ebc0
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.