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..a86501fa2 --- /dev/null +++ b/pkg/unet/BUILD @@ -0,0 +1,26 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "unet", + srcs = [ + "unet.go", + "unet_unsafe.go", + ], + visibility = ["//visibility:public"], + deps = [ + "//pkg/gate", + "@org_golang_x_sys//unix:go_default_library", + ], +) + +go_test( + name = "unet_test", + size = "small", + srcs = [ + "unet_test.go", + ], + library = ":unet", + deps = ["//pkg/sync"], +) |