github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sentry/fsimpl/ext/disklayout/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "disklayout", 7 srcs = [ 8 "block_group.go", 9 "block_group_32.go", 10 "block_group_64.go", 11 "dirent.go", 12 "dirent_new.go", 13 "dirent_old.go", 14 "disklayout.go", 15 "extent.go", 16 "inode.go", 17 "inode_new.go", 18 "inode_old.go", 19 "superblock.go", 20 "superblock_32.go", 21 "superblock_64.go", 22 "superblock_old.go", 23 "test_utils.go", 24 ], 25 marshal = True, 26 visibility = ["//pkg/sentry:internal"], 27 deps = [ 28 "//pkg/abi/linux", 29 "//pkg/marshal", 30 "//pkg/sentry/fs", 31 "//pkg/sentry/kernel/auth", 32 "//pkg/sentry/kernel/time", 33 ], 34 ) 35 36 go_test( 37 name = "disklayout_test", 38 size = "small", 39 srcs = [ 40 "block_group_test.go", 41 "dirent_test.go", 42 "extent_test.go", 43 "inode_test.go", 44 "superblock_test.go", 45 ], 46 library = ":disklayout", 47 deps = ["//pkg/sentry/kernel/time"], 48 )