summaryrefslogtreecommitdiffhomepage
path: root/pkg/waiter/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/waiter/BUILD')
-rw-r--r--pkg/waiter/BUILD15
1 files changed, 3 insertions, 12 deletions
diff --git a/pkg/waiter/BUILD b/pkg/waiter/BUILD
index 1f7efb064..852480a09 100644
--- a/pkg/waiter/BUILD
+++ b/pkg/waiter/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"])
@@ -22,8 +21,8 @@ go_library(
"waiter.go",
"waiter_list.go",
],
- importpath = "gvisor.dev/gvisor/pkg/waiter",
visibility = ["//visibility:public"],
+ deps = ["//pkg/sync"],
)
go_test(
@@ -32,13 +31,5 @@ go_test(
srcs = [
"waiter_test.go",
],
- embed = [":waiter"],
-)
-
-filegroup(
- name = "autogen",
- srcs = [
- "waiter_list.go",
- ],
- visibility = ["//:sandbox"],
+ library = ":waiter",
)