summaryrefslogtreecommitdiffhomepage
path: root/pkg/procid/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/procid/BUILD')
-rw-r--r--pkg/procid/BUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkg/procid/BUILD b/pkg/procid/BUILD
new file mode 100644
index 000000000..aa3e3ac0b
--- /dev/null
+++ b/pkg/procid/BUILD
@@ -0,0 +1,34 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "procid",
+ srcs = [
+ "procid.go",
+ "procid_amd64.s",
+ "procid_arm64.s",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+go_test(
+ name = "procid_test",
+ size = "small",
+ srcs = [
+ "procid_test.go",
+ ],
+ library = ":procid",
+ deps = ["//pkg/sync"],
+)
+
+go_test(
+ name = "procid_net_test",
+ size = "small",
+ srcs = [
+ "procid_net_test.go",
+ "procid_test.go",
+ ],
+ library = ":procid",
+ deps = ["//pkg/sync"],
+)