mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
38 lines
730 B
Python
38 lines
730 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "aio",
|
|
srcs = [
|
|
"aio.go",
|
|
"aio_linux_unsafe.go",
|
|
"aio_unsafe.go",
|
|
],
|
|
visibility = ["//pkg/sentry:internal"],
|
|
deps = [
|
|
"//pkg/abi/linux",
|
|
"//pkg/gomaxprocs",
|
|
"//pkg/sync",
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "aio_test",
|
|
size = "small",
|
|
srcs = [
|
|
"aio_linux_test.go",
|
|
"aio_test.go",
|
|
],
|
|
library = ":aio",
|
|
deps = [
|
|
"//pkg/bitmap",
|
|
"//pkg/rand",
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
],
|
|
)
|