blob: e75e729288a28dee3daa17bcc7dd83b487c65859 [file] [log] [blame]
load("@rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "validate",
srcs = ["validate.go"],
importpath = "go.skia.org/infra/perf/go/sheriffconfig/validate",
visibility = ["//visibility:public"],
deps = [
"//go/skerr",
"//perf/go/sheriffconfig/proto/v1",
"@org_golang_google_protobuf//encoding/prototext",
],
)
go_test(
name = "validate_test",
srcs = ["validate_test.go"],
embed = [":validate"],
deps = [
"//perf/go/sheriffconfig/proto/v1",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@org_golang_google_protobuf//proto",
],
)