blob: 630a537703d7c7d1dbfc1fdffd005e235115a3b8 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
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 = [
"//go/testutils/unittest",
"//perf/go/file",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)