blob: 7680981e1057f67f5a0237927ea88ff4eb080822 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "golang",
srcs = ["golang.go"],
importpath = "go.skia.org/infra/task_driver/go/lib/golang",
visibility = ["//visibility:public"],
deps = [
"//go/exec",
"//go/test2json",
"//task_driver/go/lib/dirs",
"//task_driver/go/lib/log_parser",
"//task_driver/go/lib/os_steps",
"//task_driver/go/td",
],
)
go_test(
name = "golang_test",
srcs = ["golang_test.go"],
embed = [":golang"],
deps = [
"//go/exec",
"//go/test2json",
"//go/testutils",
"//go/testutils/unittest",
"//go/util",
"//task_driver/go/lib/dirs",
"//task_driver/go/td",
"@com_github_stretchr_testify//require",
],
)