summaryrefslogtreecommitdiffhomepage
path: root/test/util/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/BUILD')
-rw-r--r--test/util/BUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/util/BUILD b/test/util/BUILD
index 5d2a9cc2c..cbc728159 100644
--- a/test/util/BUILD
+++ b/test/util/BUILD
@@ -232,13 +232,21 @@ cc_library(
cc_library(
name = "test_util",
testonly = 1,
- srcs = ["test_util.cc"],
+ srcs = [
+ "test_util.cc",
+ ] + select_for_linux(
+ [
+ "test_util_impl.cc",
+ "test_util_runfiles.cc",
+ ],
+ ),
hdrs = ["test_util.h"],
deps = [
":fs_util",
":logging",
":posix_error",
":save_util",
+ "@bazel_tools//tools/cpp/runfiles",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/flags:parse",