blob: 7b9667ff66b03c778385611d2aadba7ed83a73b6 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "types",
srcs = ["types.go"],
embedsrcs = ["probesSchema.json"],
importpath = "go.skia.org/infra/proberk/go/types",
visibility = ["//visibility:public"],
deps = [
"//go/jsonschema",
"//go/metrics2",
"//go/skerr",
"//go/sklog",
"//go/util",
],
)
go_test(
name = "types_test",
srcs = ["types_test.go"],
data = glob(["testdata/**"]),
embed = [":types"],
deps = ["@com_github_stretchr_testify//require"],
)