diff options
Diffstat (limited to 'pkg/sleep/BUILD')
-rw-r--r-- | pkg/sleep/BUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/sleep/BUILD b/pkg/sleep/BUILD new file mode 100644 index 000000000..ab3f9ad99 --- /dev/null +++ b/pkg/sleep/BUILD @@ -0,0 +1,24 @@ +package(licenses = ["notice"]) # BSD + +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "sleep", + srcs = [ + "commit_amd64.s", + "commit_asm.go", + "commit_noasm.go", + "sleep_unsafe.go", + ], + importpath = "gvisor.googlesource.com/gvisor/pkg/sleep", + visibility = ["//:sandbox"], +) + +go_test( + name = "sleep_test", + size = "medium", + srcs = [ + "sleep_test.go", + ], + embed = [":sleep"], +) |