blob: b08098e1d947bef7ef4ba0db043cc8d799a1363c [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "local",
srcs = ["local.go"],
importpath = "go.skia.org/infra/perf/go/cache/local",
visibility = ["//visibility:public"],
deps = [
"//go/skerr",
"//perf/go/cache",
"@com_github_hashicorp_golang_lru//:golang-lru",
],
)
go_test(
name = "local_test",
srcs = ["local_test.go"],
embed = [":local"],
deps = [
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)