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

     1  load("//tools:defs.bzl", "go_library")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "hostinet",
     7      srcs = [
     8          "device.go",
     9          "hostinet.go",
    10          "save_restore.go",
    11          "socket.go",
    12          "socket_unsafe.go",
    13          "socket_vfs2.go",
    14          "sockopt_impl.go",
    15          "stack.go",
    16      ],
    17      visibility = ["//pkg/sentry:internal"],
    18      deps = [
    19          "//pkg/abi/linux",
    20          "//pkg/context",
    21          "//pkg/errors/linuxerr",
    22          "//pkg/fdnotifier",
    23          "//pkg/hostarch",
    24          "//pkg/log",
    25          "//pkg/marshal",
    26          "//pkg/marshal/primitive",
    27          "//pkg/safemem",
    28          "//pkg/sentry/arch",
    29          "//pkg/sentry/device",
    30          "//pkg/sentry/fs",
    31          "//pkg/sentry/fs/fsutil",
    32          "//pkg/sentry/fsimpl/sockfs",
    33          "//pkg/sentry/hostfd",
    34          "//pkg/sentry/inet",
    35          "//pkg/sentry/kernel",
    36          "//pkg/sentry/kernel/time",
    37          "//pkg/sentry/socket",
    38          "//pkg/sentry/socket/control",
    39          "//pkg/sentry/vfs",
    40          "//pkg/syserr",
    41          "//pkg/syserror",
    42          "//pkg/tcpip",
    43          "//pkg/tcpip/stack",
    44          "//pkg/usermem",
    45          "//pkg/waiter",
    46          "@org_golang_x_sys//unix:go_default_library",
    47      ],
    48  )