summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/BUILD
blob: 372ba7abf5ec0245a70ce7d57b881b6d3d7735c0 (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
33
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "iptables",
    srcs = [
        "filter_input.go",
        "filter_output.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",
    ],
)