summaryrefslogtreecommitdiffhomepage
path: root/test/util/BUILD
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-05-24 12:57:34 -0700
committerShentubot <shentubot@google.com>2019-05-24 12:58:46 -0700
commit91194788302305ffe4c32547f74c658c26b8aaed (patch)
tree3e8bb49d848586d823775e98e125ab34df6beaf1 /test/util/BUILD
parente4b395db49e9e90659bd3d366f62aa258a3c7157 (diff)
Extract SleepSafe from test_util
Allows socket tests that rely on test_util to compile on Fuchsia. PiperOrigin-RevId: 249884084 Change-Id: I17617e3f1baaba4c85c689f40db4a42a8de1597e
Diffstat (limited to 'test/util/BUILD')
-rw-r--r--test/util/BUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/util/BUILD b/test/util/BUILD
index a4b47de56..a1b9ff526 100644
--- a/test/util/BUILD
+++ b/test/util/BUILD
@@ -238,6 +238,16 @@ cc_library(
)
cc_library(
+ name = "time_util",
+ testonly = 1,
+ srcs = ["time_util.cc"],
+ hdrs = ["time_util.h"],
+ deps = [
+ "@com_google_absl//absl/time",
+ ],
+)
+
+cc_library(
name = "timer_util",
testonly = 1,
srcs = ["timer_util.cc"],