summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ext4/disklayout/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/ext4/disklayout/BUILD')
-rw-r--r--pkg/sentry/fs/ext4/disklayout/BUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/sentry/fs/ext4/disklayout/BUILD b/pkg/sentry/fs/ext4/disklayout/BUILD
new file mode 100644
index 000000000..2fb1d5b37
--- /dev/null
+++ b/pkg/sentry/fs/ext4/disklayout/BUILD
@@ -0,0 +1,21 @@
+package(licenses = ["notice"])
+
+load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
+
+go_library(
+ name = "disklayout",
+ srcs = [
+ "block_group.go",
+ "block_group_32.go",
+ "block_group_64.go",
+ ],
+ importpath = "gvisor.dev/gvisor/pkg/sentry/fs/ext4/disklayout",
+)
+
+go_test(
+ name = "disklayout_test",
+ size = "small",
+ srcs = ["block_group_test.go"],
+ embed = [":disklayout"],
+ deps = ["//pkg/binary"],
+)