gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/seccheck/sinks/remote/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 = "remote",
    10      srcs = ["remote.go"],
    11      visibility = ["//:sandbox"],
    12      deps = [
    13          "//pkg/atomicbitops",
    14          "//pkg/cleanup",
    15          "//pkg/context",
    16          "//pkg/fd",
    17          "//pkg/log",
    18          "//pkg/sentry/seccheck",
    19          "//pkg/sentry/seccheck/points:points_go_proto",
    20          "//pkg/sentry/seccheck/sinks/remote/wire",
    21          "@org_golang_google_protobuf//proto:go_default_library",
    22          "@org_golang_x_sys//unix:go_default_library",
    23      ],
    24  )
    25  
    26  go_test(
    27      name = "remote_test",
    28      size = "small",
    29      srcs = ["remote_test.go"],
    30      data = [
    31          "//examples/seccheck:server_cc",
    32      ],
    33      library = ":remote",
    34      deps = [
    35          "//pkg/fd",
    36          "//pkg/sentry/seccheck",
    37          "//pkg/sentry/seccheck/points:points_go_proto",
    38          "//pkg/sentry/seccheck/sinks/remote/test",
    39          "//pkg/sentry/seccheck/sinks/remote/wire",
    40          "//pkg/test/testutil",
    41          "@com_github_cenkalti_backoff//:go_default_library",
    42          "@org_golang_google_protobuf//proto:go_default_library",
    43          "@org_golang_google_protobuf//types/known/anypb:go_default_library",
    44      ],
    45  )