| 1 |
//go:build tools |
| 2 |
// +build tools |
| 3 |
|
| 4 |
/* |
| 5 |
* Copyright 2025 Google LLC. |
| 6 |
* |
| 7 |
* Use of this source code is governed by a BSD-style license that can be |
| 8 |
* found in the LICENSE file. |
| 9 |
*/ |
| 10 |
|
| 11 |
package main |
| 12 |
|
| 13 |
// This file exists to ensure that tool dependencies (eg. go mod) which are |
| 14 |
// not directly imported in our code actually get included in the go.mod file. |
| 15 |
// For more information see the discussion on: |
| 16 |
// https://github.com/golang/go/issues/25922 |
| 17 |
|
| 18 |
import ( |
| 19 |
// We build @org_skia_go_infra//infra/bots/task_drivers/canary/canary.go (in |
| 20 |
// build_task_drivers.sh) but that dependency is not noticed by go and we cannot directly |
| 21 |
// depend on that package (because it's a main package), so we add this other package |
| 22 |
// that also depends on cloud.google.com/go/datastore to include that transitive dependency. |
| 23 |
_ "go.skia.org/infra/go/ds" |
| 24 |
_ "go.skia.org/infra/go/firestore" |
| 25 |
|
| 26 |
_ "go.chromium.org/luci" |
| 27 |
|
| 28 |
_ "github.com/vektra/mockery/v2" |
| 29 |
) |