github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/runsc/specutils/seccomp/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "seccomp",
     7      srcs = [
     8          "audit_amd64.go",
     9          "audit_arm64.go",
    10          "seccomp.go",
    11      ],
    12      visibility = ["//:sandbox"],
    13      deps = [
    14          "//pkg/abi/linux",
    15          "//pkg/bpf",
    16          "//pkg/log",
    17          "//pkg/seccomp",
    18          "//pkg/sentry/kernel",
    19          "//pkg/sentry/syscalls/linux",
    20          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    21          "@org_golang_x_sys//unix:go_default_library",
    22      ],
    23  )
    24  
    25  go_test(
    26      name = "seccomp_test",
    27      size = "small",
    28      srcs = ["seccomp_test.go"],
    29      library = ":seccomp",
    30      deps = [
    31          "//pkg/abi/linux",
    32          "//pkg/bpf",
    33          "//pkg/hostarch",
    34          "//pkg/marshal",
    35          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    36          "@org_golang_x_sys//unix:go_default_library",
    37      ],
    38  )