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

     1  load("//tools:defs.bzl", "go_library")
     2  load("//tools/go_generics:defs.bzl", "go_template_instance")
     3  
     4  package(default_applicable_licenses = ["//:license"])
     5  
     6  licenses(["notice"])
     7  
     8  go_template_instance(
     9      name = "inode_refs",
    10      out = "inode_refs.go",
    11      package = "nsfs",
    12      prefix = "inode",
    13      template = "//pkg/refs:refs_template",
    14      types = {
    15          "T": "Inode",
    16      },
    17  )
    18  
    19  go_library(
    20      name = "nsfs",
    21      srcs = [
    22          "inode_refs.go",
    23          "nsfs.go",
    24      ],
    25      visibility = ["//pkg/sentry:internal"],
    26      deps = [
    27          "//pkg/abi/linux",
    28          "//pkg/atomicbitops",
    29          "//pkg/context",
    30          "//pkg/errors/linuxerr",
    31          "//pkg/hostarch",
    32          "//pkg/refs",
    33          "//pkg/sentry/fsimpl/kernfs",
    34          "//pkg/sentry/kernel/auth",
    35          "//pkg/sentry/kernel/time",
    36          "//pkg/sentry/vfs",
    37          "//pkg/sync",
    38      ],
    39  )