summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/inet/BUILD
blob: eaf8f15b2ea60ab76d4d8bc5fb96776220578ecb (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
package(
    default_visibility = ["//:sandbox"],
    licenses = ["notice"],  # Apache 2.0
)

load("//tools/go_stateify:defs.bzl", "go_library", "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",
    ],
)