diff options
author | Jamie Liu <jamieliu@google.com> | 2020-01-29 10:08:25 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-29 10:09:31 -0800 |
commit | 8dcedc953a610b97efe9f68ac8fecf5e15a7e26b (patch) | |
tree | 232cc04204e1f6a0fce0362199087e3020f17414 /pkg/sentry/devices/memdev/BUILD | |
parent | 4cb55a7a3b09c430fa2b7197fdc7b84b7e88a6ed (diff) |
Add //pkg/sentry/devices/memdev.
PiperOrigin-RevId: 292165063
Diffstat (limited to 'pkg/sentry/devices/memdev/BUILD')
-rw-r--r-- | pkg/sentry/devices/memdev/BUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/sentry/devices/memdev/BUILD b/pkg/sentry/devices/memdev/BUILD new file mode 100644 index 000000000..abe58f818 --- /dev/null +++ b/pkg/sentry/devices/memdev/BUILD @@ -0,0 +1,28 @@ +load("//tools:defs.bzl", "go_library") + +licenses(["notice"]) + +go_library( + name = "memdev", + srcs = [ + "full.go", + "memdev.go", + "null.go", + "random.go", + "zero.go", + ], + visibility = ["//pkg/sentry:internal"], + deps = [ + "//pkg/abi/linux", + "//pkg/context", + "//pkg/rand", + "//pkg/safemem", + "//pkg/sentry/fsimpl/devtmpfs", + "//pkg/sentry/memmap", + "//pkg/sentry/mm", + "//pkg/sentry/pgalloc", + "//pkg/sentry/vfs", + "//pkg/syserror", + "//pkg/usermem", + ], +) |