Merge "Move/dedupe some host path functions in package_ctx.go."

This commit is contained in:
Treehugger Robot
2019-12-09 23:20:16 +00:00
committed by Gerrit Code Review
6 changed files with 23 additions and 28 deletions

View File

@@ -43,7 +43,7 @@ func init() {
if !ctx.Config().FrameworksBaseDirExists(ctx) {
return filepath.Join(prebuiltDir, runtime.GOOS, "bin", tool)
} else {
return pctx.HostBinToolPath(ctx, tool).String()
return ctx.Config().HostToolPath(ctx, tool).String()
}
})
}