blob: 8383593d9f1d6b85c9395aefc625655d34cc913d [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "rtcache",
srcs = [
"memrtc.go",
"rtcache.go",
],
importpath = "go.skia.org/infra/go/rtcache",
visibility = ["//visibility:public"],
deps = [
"//go/skerr",
"@com_github_hashicorp_golang_lru//:golang-lru",
],
)
go_test(
name = "rtcache_test",
srcs = ["memrtc_test.go"],
embed = [":rtcache"],
deps = [
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)