blob: f53d401cb4b26467cdb866db1bb108af4e22c430 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "config",
srcs = ["config.go"],
importpath = "go.skia.org/infra/golden/go/config",
visibility = ["//visibility:public"],
deps = [
"//go/config",
"//go/skerr",
"//go/util",
"@com_github_flynn_json5//:json5",
],
)
go_test(
name = "config_test",
srcs = ["config_test.go"],
data = glob(["testdata/**"]),
embed = [":config"],
deps = [
"//go/testutils",
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)