diff options
author | Toshi Kikuchi <toshik@google.com> | 2020-09-22 12:43:28 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-22 12:45:23 -0700 |
commit | 6e5ea605f4ca9fb8c29adc9510edc980f844ddfc (patch) | |
tree | 3b607872fb00ccf17bbbdaae7204a3ef8f94970c /pkg/tcpip/faketime/BUILD | |
parent | 13a9a622e13ccdda76ed02d3de99b565212f6b2f (diff) |
Move stack.fakeClock into a separate package
PiperOrigin-RevId: 333138701
Diffstat (limited to 'pkg/tcpip/faketime/BUILD')
-rw-r--r-- | pkg/tcpip/faketime/BUILD | 24 |
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", + ], +) |