25 lines
457 B
Python
25 lines
457 B
Python
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",
|
|
],
|
|
)
|