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