summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/buffer/BUILD
blob: a7bf0c4dc545e1b1ff473e6ff617bfeaa2e5da48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
load("@io_bazel_rules_go//go:def.bzl", "go_test")
load("//tools/go_stateify:defs.bzl", "go_library")

package(licenses = ["notice"])

go_library(
    name = "buffer",
    srcs = [
        "prependable.go",
        "view.go",
    ],
    importpath = "gvisor.dev/gvisor/pkg/tcpip/buffer",
    visibility = ["//visibility:public"],
)

go_test(
    name = "buffer_test",
    size = "small",
    srcs = [
        "prependable_test.go",
        "view_test.go",
    ],
    embed = [":buffer"],
)