gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/fsimpl/iouringfs/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(default_applicable_licenses = ["//:license"])
     4  
     5  licenses(["notice"])
     6  
     7  go_library(
     8      name = "iouringfs",
     9      srcs = [
    10          "buffer.go",
    11          "iouringfs.go",
    12          "iouringfs_state.go",
    13          "iouringfs_unsafe.go",
    14      ],
    15      visibility = ["//pkg/sentry:internal"],
    16      deps = [
    17          "//pkg/abi/linux",
    18          "//pkg/atomicbitops",
    19          "//pkg/context",
    20          "//pkg/errors/linuxerr",
    21          "//pkg/hostarch",
    22          "//pkg/safemem",
    23          "//pkg/sentry/kernel",
    24          "//pkg/sentry/memmap",
    25          "//pkg/sentry/pgalloc",
    26          "//pkg/sentry/usage",
    27          "//pkg/sentry/vfs",
    28          "//pkg/usermem",
    29      ],
    30  )
    31  
    32  go_test(
    33      name = "iouringfs_test",
    34      size = "small",
    35      srcs = ["iouringfs_test.go"],
    36      library = ":iouringfs",
    37      deps = ["//pkg/hostarch"],
    38  )