summaryrefslogtreecommitdiffhomepage
path: root/test/util/BUILD
diff options
context:
space:
mode:
authorJay Zhuang <jayzhuang@google.com>2019-11-13 13:20:29 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-13 13:21:50 -0800
commit683e8798ab4c2bde60f067563eef0cf06dc9bda5 (patch)
treeaf20bc8320a8730fb543607a75815ea981b9687e /test/util/BUILD
parentc2d3dc0c13e1adfc182c33d57e410c46fe12415f (diff)
Extract linux-specific test setup to separate file
PiperOrigin-RevId: 280264564
Diffstat (limited to 'test/util/BUILD')
-rw-r--r--test/util/BUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/util/BUILD b/test/util/BUILD
index 5d2a9cc2c..4526bb3f1 100644
--- a/test/util/BUILD
+++ b/test/util/BUILD
@@ -232,7 +232,13 @@ cc_library(
cc_library(
name = "test_util",
testonly = 1,
- srcs = ["test_util.cc"],
+ srcs = [
+ "test_util.cc",
+ ] + select_for_linux(
+ [
+ "test_util_impl.cc",
+ ],
+ ),
hdrs = ["test_util.h"],
deps = [
":fs_util",