|  | load("@io_bazel_rules_go//go:def.bzl", "go_library") | 
|  | load("//bazel/go:go_test.bzl", "go_test") | 
|  |  | 
|  | go_library( | 
|  | name = "td", | 
|  | srcs = [ | 
|  | "context.go", | 
|  | "message.go", | 
|  | "receiver.go", | 
|  | "run.go", | 
|  | "step.go", | 
|  | "step_properties.go", | 
|  | "testutil.go", | 
|  | ], | 
|  | importpath = "go.skia.org/infra/task_driver/go/td", | 
|  | visibility = ["//visibility:public"], | 
|  | deps = [ | 
|  | "//go/common", | 
|  | "//go/exec", | 
|  | "//go/httputils", | 
|  | "//go/luciauth", | 
|  | "//go/skerr", | 
|  | "//go/sklog", | 
|  | "//go/sklog/cloudlogging", | 
|  | "//go/sktest", | 
|  | "//go/util", | 
|  | "@com_github_google_uuid//:uuid", | 
|  | "@com_github_hashicorp_go_multierror//:go-multierror", | 
|  | "@com_github_stretchr_testify//require", | 
|  | "@com_google_cloud_go_logging//:logging", | 
|  | "@in_gopkg_fsnotify_v1//:fsnotify_v1", | 
|  | "@org_golang_google_api//compute/v1:compute", | 
|  | "@org_golang_x_oauth2//:oauth2", | 
|  | "@org_golang_x_oauth2//google", | 
|  | ], | 
|  | ) | 
|  |  | 
|  | go_test( | 
|  | name = "td_test", | 
|  | srcs = [ | 
|  | "context_test.go", | 
|  | "message_test.go", | 
|  | "run_test.go", | 
|  | "step_test.go", | 
|  | ], | 
|  | embed = [":td"], | 
|  | deps = [ | 
|  | "//bazel/external/rules_python", | 
|  | "//go/deepequal/assertdeep", | 
|  | "//go/exec", | 
|  | "//go/skerr", | 
|  | "//go/testutils/unittest", | 
|  | "//go/util", | 
|  | "@com_github_cenkalti_backoff_v4//:backoff", | 
|  | "@com_github_google_uuid//:uuid", | 
|  | "@com_github_stretchr_testify//assert", | 
|  | "@com_github_stretchr_testify//require", | 
|  | ], | 
|  | ) |