mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
26 lines
443 B
Python
26 lines
443 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "sleep",
|
|
srcs = [
|
|
"sleep_unsafe.go",
|
|
],
|
|
visibility = ["//:sandbox"],
|
|
deps = ["//pkg/sync"],
|
|
)
|
|
|
|
go_test(
|
|
name = "sleep_test",
|
|
size = "medium",
|
|
srcs = [
|
|
"sleep_test.go",
|
|
],
|
|
library = ":sleep",
|
|
deps = ["//pkg/atomicbitops"],
|
|
)
|