gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/network/internal/multicast/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 = "multicast",
    10      srcs = [
    11          "route_table.go",
    12      ],
    13      visibility = ["//visibility:public"],
    14      deps = [
    15          "//pkg/tcpip",
    16          "//pkg/tcpip/stack",
    17      ],
    18  )
    19  
    20  go_test(
    21      name = "multicast_test",
    22      size = "small",
    23      srcs = ["route_table_test.go"],
    24      library = ":multicast",
    25      deps = [
    26          "//pkg/buffer",
    27          "//pkg/refs",
    28          "//pkg/tcpip",
    29          "//pkg/tcpip/faketime",
    30          "//pkg/tcpip/stack",
    31          "//pkg/tcpip/testutil",
    32          "@com_github_google_go_cmp//cmp:go_default_library",
    33          "@com_github_google_go_cmp//cmp/cmpopts:go_default_library",
    34      ],
    35  )
    36  
    37  go_test(
    38      name = "multicast_x_test",
    39      size = "small",
    40      srcs = ["example_test.go"],
    41      deps = [
    42          ":multicast",
    43          "//pkg/buffer",
    44          "//pkg/refs",
    45          "//pkg/tcpip",
    46          "//pkg/tcpip/faketime",
    47          "//pkg/tcpip/stack",
    48          "//pkg/tcpip/testutil",
    49      ],
    50  )