| package vpython3 | |
| import ( | |
| "go.skia.org/infra/bazel/go/bazel" | |
| ) | |
| var runfilePath = "" | |
| // Find returns the path to the vpython3 binary found in the corresponding CIPD package. | |
| // | |
| // Calling this function from any Go package will automatically establish a Bazel dependency on the | |
| // corresponding CIPD package, which Bazel will download as needed. | |
| func Find() (string, error) { | |
| return bazel.FindExecutable("vpython3", runfilePath) | |
| } |