blob: a442a7a1106cadc0435b630314ace4f285421ad1 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "processor",
srcs = [
"impl.go",
"processor.go",
],
importpath = "go.skia.org/infra/machine/go/machine/processor",
visibility = ["//visibility:public"],
deps = [
"//go/metrics2",
"//go/now",
"//go/sklog",
"//go/util",
"//machine/go/machine",
],
)
go_test(
name = "processor_test",
srcs = ["impl_test.go"],
embed = [":processor"],
deps = [
"//go/metrics2",
"//go/now",
"//go/testutils/unittest",
"//machine/go/machine",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)