diff options
Diffstat (limited to 'pkg/unet/BUILD')
-rw-r--r-- | pkg/unet/BUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/unet/BUILD b/pkg/unet/BUILD new file mode 100644 index 000000000..e8e40315a --- /dev/null +++ b/pkg/unet/BUILD @@ -0,0 +1,26 @@ +package(licenses = ["notice"]) # Apache 2.0 + +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "unet", + srcs = [ + "unet.go", + "unet_unsafe.go", + ], + importpath = "gvisor.googlesource.com/gvisor/pkg/unet", + visibility = ["//visibility:public"], + deps = [ + "//pkg/abi/linux", + "//pkg/gate", + ], +) + +go_test( + name = "unet_test", + size = "small", + srcs = [ + "unet_test.go", + ], + embed = [":unet"], +) |