diff options
author | Michael Pratt <mpratt@google.com> | 2019-12-03 12:45:43 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-03 12:47:03 -0800 |
commit | d7cc2480cb6e465ce01eb245e7edbad2c68c44d8 (patch) | |
tree | 584a6bf59ce62e76382010252fea5ba5fb1e143f /test/util/BUILD | |
parent | 812189664cab0a17ae29095e4029e2f8762a6779 (diff) |
Add RunfilesPath to test_util
A few tests have their own ad-hoc implementations. Add a single common one.
PiperOrigin-RevId: 283601666
Diffstat (limited to 'test/util/BUILD')
-rw-r--r-- | test/util/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/util/BUILD b/test/util/BUILD index 4526bb3f1..cbc728159 100644 --- a/test/util/BUILD +++ b/test/util/BUILD @@ -237,6 +237,7 @@ cc_library( ] + select_for_linux( [ "test_util_impl.cc", + "test_util_runfiles.cc", ], ), hdrs = ["test_util.h"], @@ -245,6 +246,7 @@ cc_library( ":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", |