2019-06-21 22:41:42 +00:00
|
|
|
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",
|
2019-06-28 19:06:17 +00:00
|
|
|
"superblock.go",
|
2019-06-21 22:41:42 +00:00
|
|
|
],
|
|
|
|
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"],
|
|
|
|
)
|