blob: a34395c105ee33cd2510914effa4b8f321159848 [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/sklog",
"//go/util",
"//machine/go/machine",
],
)
go_test(
name = "processor_test",
srcs = ["impl_test.go"],
embed = [":processor"],
deps = [
"//go/metrics2",
"//go/testutils/unittest",
"//machine/go/machine",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)