blob: 137f62da4f2fb90d187ad48bebc4d585e04c1cad [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "format",
srcs = [
"format.go",
"leagacyformat.go",
],
embedsrcs = ["formatSchema.json"],
importpath = "go.skia.org/infra/perf/go/ingest/format",
visibility = ["//visibility:public"],
deps = [
"//go/jsonschema",
"//go/paramtools",
"//go/query",
"//go/skerr",
"//perf/go/types",
],
)
go_test(
name = "format_test",
srcs = ["format_test.go"],
embed = [":format"],
deps = [
"//go/deepequal/assertdeep",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)