github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/tcpip/link/sharedmem/pipe/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "pipe", 7 srcs = [ 8 "pipe.go", 9 "pipe_unsafe.go", 10 "rx.go", 11 "tx.go", 12 ], 13 visibility = ["//visibility:public"], 14 ) 15 16 go_test( 17 name = "pipe_test", 18 srcs = [ 19 "pipe_test.go", 20 ], 21 library = ":pipe", 22 deps = ["//pkg/sync"], 23 )