gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/fdchannel/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(default_applicable_licenses = ["//:license"]) 4 5 licenses(["notice"]) 6 7 go_library( 8 name = "fdchannel", 9 srcs = ["fdchannel_unsafe.go"], 10 visibility = ["//visibility:public"], 11 deps = [ 12 "@org_golang_x_sys//unix:go_default_library", 13 ], 14 ) 15 16 go_test( 17 name = "fdchannel_test", 18 size = "small", 19 srcs = ["fdchannel_test.go"], 20 library = ":fdchannel", 21 deps = [ 22 "//pkg/sync", 23 "@org_golang_x_sys//unix:go_default_library", 24 ], 25 )