summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/BUILD')
-rw-r--r--pkg/tcpip/BUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkg/tcpip/BUILD b/pkg/tcpip/BUILD
new file mode 100644
index 000000000..454e07662
--- /dev/null
+++ b/pkg/tcpip/BUILD
@@ -0,0 +1,32 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "tcpip",
+ srcs = [
+ "tcpip.go",
+ "time_unsafe.go",
+ "timer.go",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//pkg/sync",
+ "//pkg/tcpip/buffer",
+ "//pkg/waiter",
+ ],
+)
+
+go_test(
+ name = "tcpip_test",
+ size = "small",
+ srcs = ["tcpip_test.go"],
+ library = ":tcpip",
+)
+
+go_test(
+ name = "tcpip_x_test",
+ size = "small",
+ srcs = ["timer_test.go"],
+ deps = [":tcpip"],
+)