gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/state/statefile/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 go_library( 9 name = "statefile", 10 srcs = [ 11 "async_io.go", 12 "statefile.go", 13 ], 14 visibility = ["//:sandbox"], 15 deps = [ 16 "//pkg/compressio", 17 "//pkg/fd", 18 "//pkg/sync", 19 ], 20 ) 21 22 go_test( 23 name = "statefile_test", 24 size = "small", 25 srcs = [ 26 "async_io_test.go", 27 "statefile_test.go", 28 ], 29 library = ":statefile", 30 deps = [ 31 "//pkg/compressio", 32 "//pkg/fd", 33 "@org_golang_x_sys//unix:go_default_library", 34 ], 35 )