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

     1  load("//tools:defs.bzl", "go_library", "proto_library")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "strace",
     7      srcs = [
     8          "capability.go",
     9          "clone.go",
    10          "epoll.go",
    11          "futex.go",
    12          "linux64_amd64.go",
    13          "linux64_arm64.go",
    14          "mmap.go",
    15          "open.go",
    16          "poll.go",
    17          "ptrace.go",
    18          "select.go",
    19          "signal.go",
    20          "socket.go",
    21          "strace.go",
    22          "syscalls.go",
    23      ],
    24      visibility = ["//:sandbox"],
    25      deps = [
    26          ":strace_go_proto",
    27          "//pkg/abi",
    28          "//pkg/abi/linux",
    29          "//pkg/bits",
    30          "//pkg/eventchannel",
    31          "//pkg/hostarch",
    32          "//pkg/marshal/primitive",
    33          "//pkg/seccomp",
    34          "//pkg/sentry/arch",
    35          "//pkg/sentry/kernel",
    36          "//pkg/sentry/socket",
    37          "//pkg/sentry/socket/netlink",
    38          "//pkg/sentry/syscalls/linux",
    39      ],
    40  )
    41  
    42  proto_library(
    43      name = "strace",
    44      srcs = ["strace.proto"],
    45      visibility = ["//visibility:public"],
    46  )