gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/specutils/seccomp/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 = "seccomp",
    10      srcs = [
    11          "audit_amd64.go",
    12          "audit_arm64.go",
    13          "seccomp.go",
    14      ],
    15      visibility = ["//:sandbox"],
    16      deps = [
    17          "//pkg/abi/linux",
    18          "//pkg/bpf",
    19          "//pkg/log",
    20          "//pkg/seccomp",
    21          "//pkg/sentry/kernel",
    22          "//pkg/sentry/syscalls/linux",
    23          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    24          "@org_golang_x_sys//unix:go_default_library",
    25      ],
    26  )
    27  
    28  go_test(
    29      name = "seccomp_test",
    30      size = "small",
    31      srcs = ["seccomp_test.go"],
    32      library = ":seccomp",
    33      deps = [
    34          "//pkg/abi/linux",
    35          "//pkg/bpf",
    36          "//pkg/seccomp",
    37          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    38          "@org_golang_x_sys//unix:go_default_library",
    39      ],
    40  )