gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/unet/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 = "unet",
    10      srcs = [
    11          "unet.go",
    12          "unet_unsafe.go",
    13      ],
    14      visibility = ["//visibility:public"],
    15      deps = [
    16          "//pkg/atomicbitops",
    17          "//pkg/eventfd",
    18          "//pkg/sync",
    19          "@org_golang_x_sys//unix:go_default_library",
    20      ],
    21  )
    22  
    23  go_test(
    24      name = "unet_test",
    25      size = "small",
    26      srcs = [
    27          "unet_test.go",
    28      ],
    29      library = ":unet",
    30      deps = [
    31          "//pkg/sync",
    32          "@org_golang_x_sys//unix:go_default_library",
    33      ],
    34  )