summaryrefslogtreecommitdiffhomepage
path: root/pkg/fspath/BUILD
blob: 11716af8185229e081226335ba97b2761ecb0b64 (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
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")

package(
    default_visibility = ["//visibility:public"],
    licenses = ["notice"],
)

go_library(
    name = "fspath",
    srcs = [
        "builder.go",
        "builder_unsafe.go",
        "fspath.go",
    ],
    importpath = "gvisor.dev/gvisor/pkg/fspath",
    deps = ["//pkg/syserror"],
)

go_test(
    name = "fspath_test",
    size = "small",
    srcs = [
        "builder_test.go",
        "fspath_test.go",
    ],
    embed = [":fspath"],
    deps = ["//pkg/syserror"],
)