github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sentry/platform/ptrace/BUILD (about)

     1  load("//tools:defs.bzl", "go_library")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "ptrace",
     7      srcs = [
     8          "filters.go",
     9          "ptrace.go",
    10          "ptrace_amd64.go",
    11          "ptrace_arm64.go",
    12          "ptrace_arm64_unsafe.go",
    13          "ptrace_unsafe.go",
    14          "stub_amd64.s",
    15          "stub_arm64.s",
    16          "stub_unsafe.go",
    17          "subprocess.go",
    18          "subprocess_amd64.go",
    19          "subprocess_arm64.go",
    20          "subprocess_linux.go",
    21          "subprocess_linux_unsafe.go",
    22          "subprocess_unsafe.go",
    23      ],
    24      visibility = ["//:sandbox"],
    25      deps = [
    26          "//pkg/abi/linux",
    27          "//pkg/context",
    28          "//pkg/hostarch",
    29          "//pkg/log",
    30          "//pkg/procid",
    31          "//pkg/safecopy",
    32          "//pkg/seccomp",
    33          "//pkg/sentry/arch",
    34          "//pkg/sentry/arch/fpu",
    35          "//pkg/sentry/memmap",
    36          "//pkg/sentry/platform",
    37          "//pkg/sentry/platform/interrupt",
    38          "//pkg/sync",
    39          "@org_golang_x_sys//unix:go_default_library",
    40      ],
    41  )