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