gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/limits/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 = "limits",
    10      srcs = [
    11          "context.go",
    12          "limits.go",
    13          "linux.go",
    14      ],
    15      visibility = ["//:sandbox"],
    16      deps = [
    17          "//pkg/abi/linux",
    18          "//pkg/context",
    19          "//pkg/sync",
    20          "@org_golang_x_sys//unix:go_default_library",
    21      ],
    22  )
    23  
    24  go_test(
    25      name = "limits_test",
    26      size = "small",
    27      srcs = [
    28          "limits_test.go",
    29      ],
    30      library = ":limits",
    31      deps = ["@org_golang_x_sys//unix:go_default_library"],
    32  )