gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/testutil/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 = "testutil",
    10      testonly = True,
    11      srcs = [
    12          "testutil.go",
    13          "testutil_unsafe.go",
    14      ],
    15      visibility = ["//visibility:public"],
    16      deps = ["//pkg/tcpip"],
    17  )
    18  
    19  go_test(
    20      name = "testutil_test",
    21      srcs = ["testutil_test.go"],
    22      library = ":testutil",
    23      deps = ["//pkg/tcpip"],
    24  )