summaryrefslogtreecommitdiffhomepage
path: root/tools/verity/BUILD
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2021-03-11 17:52:43 -0800
committergVisor bot <gvisor-bot@google.com>2021-03-11 17:54:29 -0800
commita7197c9c688fdfc2d37005063d3f6dbf9cef2341 (patch)
tree19e75cd2e05f3a5d3c42281f90a66e30618f8926 /tools/verity/BUILD
parentcda7d5d44a9c923118f5e791a487b7f5996988b9 (diff)
Implement Merkle tree generate tool binary
This binary is used to recursively enable and generate Merkle tree files for all files and directories in a file system from inside a gVisor sandbox. PiperOrigin-RevId: 362418770
Diffstat (limited to 'tools/verity/BUILD')
-rw-r--r--tools/verity/BUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/verity/BUILD b/tools/verity/BUILD
new file mode 100644
index 000000000..77d16359c
--- /dev/null
+++ b/tools/verity/BUILD
@@ -0,0 +1,15 @@
+load("//tools:defs.bzl", "go_binary")
+
+licenses(["notice"])
+
+go_binary(
+ name = "measure_tool",
+ srcs = [
+ "measure_tool.go",
+ "measure_tool_unsafe.go",
+ ],
+ pure = True,
+ deps = [
+ "//pkg/abi/linux",
+ ],
+)