summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/inet/BUILD
blob: 1150ced57f83a25800bf4430eaca13b694ee49c2 (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
load("@io_bazel_rules_go//go:def.bzl", "go_library")

package(
    default_visibility = ["//:sandbox"],
    licenses = ["notice"],  # Apache 2.0
)

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

go_stateify(
    name = "inet_state",
    srcs = ["inet.go"],
    out = "inet_state.go",
    package = "inet",
)

go_library(
    name = "inet",
    srcs = [
        "context.go",
        "inet.go",
        "inet_state.go",
        "test_stack.go",
    ],
    importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/inet",
    deps = [
        "//pkg/sentry/context",
        "//pkg/state",
    ],
)