gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/eventfd/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 = "eventfd",
    10      srcs = [
    11          "eventfd.go",
    12          "eventfd_unsafe.go",
    13      ],
    14      visibility = [
    15          "//:sandbox",
    16          "//cloud/cluster/node/network/client/go:__pkg__",
    17      ],
    18      deps = [
    19          "//pkg/hostarch",
    20          "//pkg/tcpip/link/rawfile",
    21          "@org_golang_x_sys//unix:go_default_library",
    22      ],
    23  )
    24  
    25  go_test(
    26      name = "eventfd_test",
    27      srcs = ["eventfd_test.go"],
    28      library = ":eventfd",
    29  )