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..e131455f7 --- /dev/null +++ b/pkg/sleep/BUILD @@ -0,0 +1,24 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "sleep", + srcs = [ + "commit_amd64.s", + "commit_arm64.s", + "commit_asm.go", + "commit_noasm.go", + "sleep_unsafe.go", + ], + visibility = ["//:sandbox"], +) + +go_test( + name = "sleep_test", + size = "medium", + srcs = [ + "sleep_test.go", + ], + library = ":sleep", +) |