gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/link/sharedmem/pipe/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 = "pipe", 10 srcs = [ 11 "pipe.go", 12 "pipe_unsafe.go", 13 "rx.go", 14 "tx.go", 15 ], 16 visibility = [ 17 "//visibility:public", 18 ], 19 deps = [ 20 "//pkg/atomicbitops", 21 ], 22 ) 23 24 go_test( 25 name = "pipe_test", 26 srcs = [ 27 "pipe_test.go", 28 ], 29 library = ":pipe", 30 deps = ["//pkg/sync"], 31 )