summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/BUILD
blob: 68eed721eb457b759426a73b8f7f4a9f8f3ff0dc (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
28
29
30
31
32
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "iptables",
    srcs = [
        "filter_input.go",
        "iptables.go",
        "iptables_util.go",
        "nat.go",
    ],
    importpath = "gvisor.dev/gvisor/test/iptables",
    visibility = ["//test/iptables:__subpackages__"],
)

go_test(
    name = "iptables_test",
    srcs = [
        "iptables_test.go",
    ],
    embed = [":iptables"],
    tags = [
        "local",
        "manual",
    ],
    deps = [
        "//pkg/log",
        "//runsc/dockerutil",
        "//runsc/testutil",
    ],
)