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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "buffer",
     7      srcs = [
     8          "prependable.go",
     9          "view.go",
    10          "view_unsafe.go",
    11      ],
    12      visibility = ["//visibility:public"],
    13  )
    14  
    15  go_test(
    16      name = "buffer_x_test",
    17      size = "small",
    18      srcs = [
    19          "view_test.go",
    20      ],
    21      deps = [
    22          ":buffer",
    23          "//pkg/tcpip",
    24      ],
    25  )