summaryrefslogtreecommitdiffhomepage
path: root/pkg/urpc/BUILD
blob: b6bbb0ea2d83b167de7ed51ee7859d16219548e1 (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
load("//tools/go_stateify:defs.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_test")

package(licenses = ["notice"])

go_library(
    name = "urpc",
    srcs = ["urpc.go"],
    importpath = "gvisor.dev/gvisor/pkg/urpc",
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/fd",
        "//pkg/log",
        "//pkg/unet",
    ],
)

go_test(
    name = "urpc_test",
    size = "small",
    srcs = ["urpc_test.go"],
    embed = [":urpc"],
    deps = ["//pkg/unet"],
)