blob: 13e4436f46db1fc10769d4e33bdc8b1bef8bfa31 [file] [log] [blame]
load("@rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "dirsource",
srcs = ["dirsource.go"],
importpath = "go.skia.org/infra/perf/go/file/dirsource",
visibility = ["//visibility:public"],
deps = [
"//go/skerr",
"//go/sklog",
"//perf/go/file",
],
)
go_test(
name = "dirsource_test",
srcs = ["dirsource_test.go"],
data = glob(["testdata/**"]),
embed = [":dirsource"],
deps = [
"//perf/go/file",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)