blob: 5e085ae471ce34d4ab067b2a30814ba637c348cf [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
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/skerr",
"//perf/go/types",
],
)
go_test(
name = "format_test",
srcs = ["format_test.go"],
embed = [":format"],
deps = [
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)