summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ext4/disklayout/BUILD
blob: 2fb1d5b37f4bc199c995f371ae13014ce8897ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"],
)