summaryrefslogtreecommitdiffhomepage
path: root/pkg/refs/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/refs/BUILD')
-rw-r--r--pkg/refs/BUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/refs/BUILD b/pkg/refs/BUILD
index 7ad59dfd7..74affc887 100644
--- a/pkg/refs/BUILD
+++ b/pkg/refs/BUILD
@@ -1,6 +1,5 @@
-load("@io_bazel_rules_go//go:def.bzl", "go_test")
+load("//tools:defs.bzl", "go_library", "go_test")
load("//tools/go_generics:defs.bzl", "go_template_instance")
-load("//tools/go_stateify:defs.bzl", "go_library")
package(licenses = ["notice"])
@@ -23,10 +22,10 @@ go_library(
"refcounter_state.go",
"weak_ref_list.go",
],
- importpath = "gvisor.dev/gvisor/pkg/refs",
visibility = ["//:sandbox"],
deps = [
"//pkg/log",
+ "//pkg/sync",
],
)
@@ -34,5 +33,6 @@ go_test(
name = "refs_test",
size = "small",
srcs = ["refcounter_test.go"],
- embed = [":refs"],
+ library = ":refs",
+ deps = ["//pkg/sync"],
)