summaryrefslogtreecommitdiffhomepage
path: root/test/util/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2019-01-29 08:00:33 -0800
committerShentubot <shentubot@google.com>2019-01-29 08:01:48 -0800
commit57c202ead2d937e40c5d10da409504ac474165d1 (patch)
tree1e0d3365e744b554570563c0f4c661377f475187 /test/util/BUILD
parent24cb2c0a7256cdb515c2fc2cfc90d130e2a405ef (diff)
Refactor out NewEventFD to a test utility.
PiperOrigin-RevId: 231404512 Change-Id: I31efcc23a0c4a48ef6fbba3ca07415d79290f55c
Diffstat (limited to 'test/util/BUILD')
-rw-r--r--test/util/BUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/util/BUILD b/test/util/BUILD
index 6316fec6e..f2e563507 100644
--- a/test/util/BUILD
+++ b/test/util/BUILD
@@ -19,6 +19,17 @@ cc_library(
)
cc_library(
+ name = "eventfd_util",
+ testonly = 1,
+ hdrs = ["eventfd_util.h"],
+ deps = [
+ ":file_descriptor",
+ ":posix_error",
+ ":save_util",
+ ],
+)
+
+cc_library(
name = "file_descriptor",
testonly = 1,
hdrs = ["file_descriptor.h"],