summaryrefslogtreecommitdiffhomepage
path: root/pkg/procid/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2019-06-10 15:46:17 -0700
committerShentubot <shentubot@google.com>2019-06-10 15:47:25 -0700
commit589f36ac4ae31b1f7f35a74d982398e48c28aa31 (patch)
tree93f15b9a87a4af2ff3c486c2b0754687579fee0d /pkg/procid/BUILD
parent3933dd5c04c56512eccb38657bb735f375db4de4 (diff)
Move //pkg/sentry/platform/procid to //pkg/procid.
PiperOrigin-RevId: 252501653
Diffstat (limited to 'pkg/procid/BUILD')
-rw-r--r--pkg/procid/BUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkg/procid/BUILD b/pkg/procid/BUILD
new file mode 100644
index 000000000..7c22b763a
--- /dev/null
+++ b/pkg/procid/BUILD
@@ -0,0 +1,33 @@
+load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "procid",
+ srcs = [
+ "procid.go",
+ "procid_amd64.s",
+ "procid_arm64.s",
+ ],
+ importpath = "gvisor.googlesource.com/gvisor/pkg/procid",
+ visibility = ["//visibility:public"],
+)
+
+go_test(
+ name = "procid_test",
+ size = "small",
+ srcs = [
+ "procid_test.go",
+ ],
+ embed = [":procid"],
+)
+
+go_test(
+ name = "procid_net_test",
+ size = "small",
+ srcs = [
+ "procid_net_test.go",
+ "procid_test.go",
+ ],
+ embed = [":procid"],
+)