From 589f36ac4ae31b1f7f35a74d982398e48c28aa31 Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Mon, 10 Jun 2019 15:46:17 -0700 Subject: Move //pkg/sentry/platform/procid to //pkg/procid. PiperOrigin-RevId: 252501653 --- pkg/procid/BUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkg/procid/BUILD (limited to 'pkg/procid/BUILD') 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"], +) -- cgit v1.2.3