| 270 | } |
| 271 | |
| 272 | func log_build_context(context *package_lookup_context) { |
| 273 | log.Printf(" GOROOT: %s\n", context.GOROOT) |
| 274 | log.Printf(" GOPATH: %s\n", context.GOPATH) |
| 275 | log.Printf(" GOOS: %s\n", context.GOOS) |
| 276 | log.Printf(" GOARCH: %s\n", context.GOARCH) |
| 277 | log.Printf(" BzlProjectRoot: %q\n", context.BzlProjectRoot) |
| 278 | log.Printf(" GBProjectRoot: %q\n", context.GBProjectRoot) |
| 279 | log.Printf(" lib-path: %q\n", g_config.LibPath) |
| 280 | } |
| 281 | |
| 282 | // find_global_file returns the file path of the compiled package corresponding to the specified |
| 283 | // import, and a boolean stating whether such path is valid. |