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