github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/tcpip/link/waitable/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "waitable", 7 srcs = [ 8 "waitable.go", 9 ], 10 visibility = ["//visibility:public"], 11 deps = [ 12 "//pkg/sync", 13 "//pkg/tcpip", 14 "//pkg/tcpip/header", 15 "//pkg/tcpip/stack", 16 ], 17 ) 18 19 go_test( 20 name = "waitable_test", 21 srcs = [ 22 "waitable_test.go", 23 ], 24 library = ":waitable", 25 deps = [ 26 "//pkg/tcpip", 27 "//pkg/tcpip/header", 28 "//pkg/tcpip/stack", 29 ], 30 )