github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sentry/limits/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "limits", 7 srcs = [ 8 "context.go", 9 "limits.go", 10 "linux.go", 11 ], 12 visibility = ["//:sandbox"], 13 deps = [ 14 "//pkg/abi/linux", 15 "//pkg/context", 16 "//pkg/sync", 17 "@org_golang_x_sys//unix:go_default_library", 18 ], 19 ) 20 21 go_test( 22 name = "limits_test", 23 size = "small", 24 srcs = [ 25 "limits_test.go", 26 ], 27 library = ":limits", 28 deps = ["@org_golang_x_sys//unix:go_default_library"], 29 )