summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/BUILD
blob: 22f470092d02b7ace55aef7f6762efe689d2b9d5 (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
34
35
36
37
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(licenses = ["notice"])

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

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