summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/BUILD')
-rw-r--r--pkg/abi/BUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkg/abi/BUILD b/pkg/abi/BUILD
index c014d2c4b..f1e6bac67 100644
--- a/pkg/abi/BUILD
+++ b/pkg/abi/BUILD
@@ -1,13 +1,24 @@
package(licenses = ["notice"]) # Apache 2.0
-load("//tools/go_stateify:defs.bzl", "go_library")
+load("//tools/go_stateify:defs.bzl", "go_library", "go_stateify")
+
+go_stateify(
+ name = "abi_state",
+ srcs = [
+ "abi.go",
+ ],
+ out = "abi_state.go",
+ package = "abi",
+)
go_library(
name = "abi",
srcs = [
"abi.go",
+ "abi_state.go",
"flag.go",
],
importpath = "gvisor.googlesource.com/gvisor/pkg/abi",
visibility = ["//:sandbox"],
+ deps = ["//pkg/state"],
)