github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/tcpip/link/sharedmem/queue/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "queue",
     7      srcs = [
     8          "rx.go",
     9          "tx.go",
    10      ],
    11      visibility = ["//visibility:public"],
    12      deps = [
    13          "//pkg/log",
    14          "//pkg/tcpip/link/sharedmem/pipe",
    15      ],
    16  )
    17  
    18  go_test(
    19      name = "queue_test",
    20      srcs = [
    21          "queue_test.go",
    22      ],
    23      library = ":queue",
    24      deps = [
    25          "//pkg/tcpip/link/sharedmem/pipe",
    26      ],
    27  )