2018-07-27 17:16:27 +00:00
|
|
|
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
|
2018-04-27 17:37:02 +00:00
|
|
|
|
2019-01-31 19:11:44 +00:00
|
|
|
package(licenses = ["notice"])
|
2018-10-23 07:19:11 +00:00
|
|
|
|
2018-04-27 17:37:02 +00:00
|
|
|
go_library(
|
|
|
|
name = "statefile",
|
|
|
|
srcs = ["statefile.go"],
|
|
|
|
importpath = "gvisor.googlesource.com/gvisor/pkg/state/statefile",
|
|
|
|
visibility = ["//:sandbox"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/binary",
|
|
|
|
"//pkg/compressio",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "statefile_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["statefile_test.go"],
|
|
|
|
embed = [":statefile"],
|
2018-08-24 21:52:23 +00:00
|
|
|
deps = ["//pkg/compressio"],
|
2018-04-27 17:37:02 +00:00
|
|
|
)
|