summaryrefslogtreecommitdiffhomepage
path: root/pkg/sleep/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sleep/BUILD')
-rw-r--r--pkg/sleep/BUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkg/sleep/BUILD b/pkg/sleep/BUILD
index a23c86fb1..ae0fe1522 100644
--- a/pkg/sleep/BUILD
+++ b/pkg/sleep/BUILD
@@ -1,5 +1,4 @@
-load("//tools/go_stateify:defs.bzl", "go_library")
-load("@io_bazel_rules_go//go:def.bzl", "go_test")
+load("//tools:defs.bzl", "go_library", "go_test")
package(licenses = ["notice"])
@@ -12,8 +11,8 @@ go_library(
"commit_noasm.go",
"sleep_unsafe.go",
],
- importpath = "gvisor.dev/gvisor/pkg/sleep",
visibility = ["//:sandbox"],
+ deps = ["//pkg/sync"],
)
go_test(
@@ -22,5 +21,5 @@ go_test(
srcs = [
"sleep_test.go",
],
- embed = [":sleep"],
+ library = ":sleep",
)