summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/statefile/BUILD
blob: e70f4a79f69cb77d834543f1e3cca43c2a7b0474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "statefile",
    srcs = ["statefile.go"],
    importpath = "gvisor.dev/gvisor/pkg/state/statefile",
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/binary",
        "//pkg/compressio",
    ],
)

go_test(
    name = "statefile_test",
    size = "small",
    srcs = ["statefile_test.go"],
    embed = [":statefile"],
    deps = ["//pkg/compressio"],
)