github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/runsc/cgroup/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "cgroup", 7 srcs = ["cgroup.go"], 8 visibility = ["//:sandbox"], 9 deps = [ 10 "//pkg/cleanup", 11 "//pkg/log", 12 "@com_github_cenkalti_backoff//:go_default_library", 13 "@com_github_opencontainers_runtime_spec//specs-go:go_default_library", 14 "@org_golang_x_sys//unix:go_default_library", 15 ], 16 ) 17 18 go_test( 19 name = "cgroup_test", 20 size = "small", 21 srcs = ["cgroup_test.go"], 22 library = ":cgroup", 23 tags = ["local"], 24 deps = [ 25 "//pkg/test/testutil", 26 "@com_github_opencontainers_runtime_spec//specs-go:go_default_library", 27 ], 28 )