gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/link/ethernet/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 = "ethernet",
    10      srcs = ["ethernet.go"],
    11      visibility = ["//visibility:public"],
    12      deps = [
    13          "//pkg/tcpip",
    14          "//pkg/tcpip/header",
    15          "//pkg/tcpip/link/nested",
    16          "//pkg/tcpip/stack",
    17      ],
    18  )
    19  
    20  go_test(
    21      name = "ethernet_test",
    22      size = "small",
    23      srcs = ["ethernet_test.go"],
    24      deps = [
    25          ":ethernet",
    26          "//pkg/buffer",
    27          "//pkg/refs",
    28          "//pkg/tcpip",
    29          "//pkg/tcpip/header",
    30          "//pkg/tcpip/link/channel",
    31          "//pkg/tcpip/stack",
    32          "@com_github_google_go_cmp//cmp:go_default_library",
    33      ],
    34  )