summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ext4/disklayout/BUILD
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2019-06-21 15:41:42 -0700
committergVisor bot <gvisor-bot@google.com>2019-06-21 15:42:46 -0700
commit727375321f292878237ac6ace447e43ed393750c (patch)
tree5662a8374c10c19423e2cbc8c02ca75ad1d3c8cb /pkg/sentry/fs/ext4/disklayout/BUILD
parente806466fc5a1331df1e643226297064e0eb31075 (diff)
ext4 block group descriptor implementation in disk layout package.
PiperOrigin-RevId: 254482180
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"],
+)