summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/faketime/BUILD
diff options
context:
space:
mode:
authorToshi Kikuchi <toshik@google.com>2020-09-22 12:43:28 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-22 12:45:23 -0700
commit6e5ea605f4ca9fb8c29adc9510edc980f844ddfc (patch)
tree3b607872fb00ccf17bbbdaae7204a3ef8f94970c /pkg/tcpip/faketime/BUILD
parent13a9a622e13ccdda76ed02d3de99b565212f6b2f (diff)
Move stack.fakeClock into a separate package
PiperOrigin-RevId: 333138701
Diffstat (limited to 'pkg/tcpip/faketime/BUILD')
-rw-r--r--pkg/tcpip/faketime/BUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/tcpip/faketime/BUILD b/pkg/tcpip/faketime/BUILD
new file mode 100644
index 000000000..114d43df3
--- /dev/null
+++ b/pkg/tcpip/faketime/BUILD
@@ -0,0 +1,24 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "faketime",
+ srcs = ["faketime.go"],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//pkg/tcpip",
+ "@com_github_dpjacques_clockwork//:go_default_library",
+ ],
+)
+
+go_test(
+ name = "faketime_test",
+ size = "small",
+ srcs = [
+ "faketime_test.go",
+ ],
+ deps = [
+ "//pkg/tcpip/faketime",
+ ],
+)