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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  licenses(["notice"])
     4  
     5  go_library(
     6      name = "devtmpfs",
     7      srcs = [
     8          "devtmpfs.go",
     9          "save_restore.go",
    10      ],
    11      visibility = ["//pkg/sentry:internal"],
    12      deps = [
    13          "//pkg/abi/linux",
    14          "//pkg/context",
    15          "//pkg/fspath",
    16          "//pkg/sentry/fsimpl/tmpfs",
    17          "//pkg/sentry/kernel/auth",
    18          "//pkg/sentry/vfs",
    19          "//pkg/sync",
    20      ],
    21  )
    22  
    23  go_test(
    24      name = "devtmpfs_test",
    25      size = "small",
    26      srcs = ["devtmpfs_test.go"],
    27      library = ":devtmpfs",
    28      deps = [
    29          "//pkg/abi/linux",
    30          "//pkg/context",
    31          "//pkg/fspath",
    32          "//pkg/sentry/contexttest",
    33          "//pkg/sentry/fsimpl/tmpfs",
    34          "//pkg/sentry/kernel/auth",
    35          "//pkg/sentry/vfs",
    36      ],
    37  )