blob: f0bed8e49b57696ce68a60fb66d1e7cdc4b8686b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
load("//tools:defs.bzl", "go_library", "go_test")
package(licenses = ["notice"])
go_library(
name = "eventfd",
srcs = [
"eventfd.go",
"eventfd_unsafe.go",
],
visibility = ["//:sandbox"],
deps = [
"//pkg/hostarch",
"//pkg/tcpip/link/rawfile",
"@org_golang_x_sys//unix:go_default_library",
],
)
go_test(
name = "eventfd_test",
srcs = ["eventfd_test.go"],
library = ":eventfd",
)
|