gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/link/qdisc/fifo/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 = "fifo",
    10      srcs = [
    11          "fifo.go",
    12          "packet_buffer_circular_list.go",
    13      ],
    14      visibility = ["//visibility:public"],
    15      deps = [
    16          "//pkg/atomicbitops",
    17          "//pkg/sleep",
    18          "//pkg/sync",
    19          "//pkg/tcpip",
    20          "//pkg/tcpip/stack",
    21      ],
    22  )
    23  
    24  go_test(
    25      name = "qdisc_test",
    26      size = "small",
    27      srcs = ["qdisc_test.go"],
    28      deps = [
    29          ":fifo",
    30          "//pkg/buffer",
    31          "//pkg/refs",
    32          "//pkg/sync",
    33          "//pkg/tcpip",
    34          "//pkg/tcpip/stack",
    35      ],
    36  )