blob: 7d01de792807931a2d81384167c4a00710625a1a [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "swarming",
srcs = ["swarming.go"],
importpath = "go.skia.org/infra/machine/go/test_machine_monitor/swarming",
visibility = ["//visibility:public"],
deps = [
"//go/httputils",
"//go/metrics2",
"//go/skerr",
"//go/sklog",
"//go/util",
],
)
go_test(
name = "swarming_test",
srcs = ["swarming_test.go"],
embed = [":swarming"],
deps = [
"//go/sklog",
"//go/sklog/sklogimpl",
"//go/sklog/stdlogging",
"//go/util",
"@com_github_go_chi_chi_v5//:chi",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)