summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/BUILD
blob: 3fd9e3134db38acd5168f0a54e23bd6a33f96e98 (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
25
26
27
load("@io_bazel_rules_go//go:def.bzl", "go_test")

package(licenses = ["notice"])

load("//tools/go_stateify:defs.bzl", "go_library")

go_library(
    name = "tcpip",
    srcs = [
        "tcpip.go",
        "time_unsafe.go",
    ],
    importpath = "gvisor.dev/gvisor/pkg/tcpip",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/tcpip/buffer",
        "//pkg/tcpip/iptables",
        "//pkg/waiter",
    ],
)

go_test(
    name = "tcpip_test",
    size = "small",
    srcs = ["tcpip_test.go"],
    embed = [":tcpip"],
)