diff options
author | Adin Scannell <ascannell@google.com> | 2020-01-27 22:27:57 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-27 22:28:43 -0800 |
commit | 5d569408ef94c753b7aae9392b5e4ebf7e5ea50d (patch) | |
tree | b34260f2e94e62b4ee3f4bff45644c39fdf0fecd /test/util/BUILD | |
parent | 2a2da5be31ea3c32e66f0c0ff61ef189848f5258 (diff) |
Create platform_util for tests.
PiperOrigin-RevId: 291869423
Diffstat (limited to 'test/util/BUILD')
-rw-r--r-- | test/util/BUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/util/BUILD b/test/util/BUILD index 3c732be62..1ac8b3fd6 100644 --- a/test/util/BUILD +++ b/test/util/BUILD @@ -166,6 +166,14 @@ cc_library( ) cc_library( + name = "platform_util", + testonly = 1, + srcs = ["platform_util.cc"], + hdrs = ["platform_util.h"], + deps = [":test_util"], +) + +cc_library( name = "posix_error", testonly = 1, srcs = ["posix_error.cc"], @@ -238,12 +246,7 @@ cc_library( "test_util_runfiles.cc", ], hdrs = ["test_util.h"], - defines = select_system( - fuchsia = [ - "__opensource__", - "__fuchsia__", - ], - ), + defines = select_system(), deps = [ ":fs_util", ":logging", |