diff options
author | 2017-03-01 15:55:34 +0000 | |
---|---|---|
committer | 2017-03-01 16:16:45 +0000 | |
commit | 9f15d156cf977c57ec0c88f4aed44b13053768fb (patch) | |
tree | 34640a21aa394be18d38fe76fad09be46db2a25a /third_party/ijar/BUILD | |
parent | 6cd98976031448f4d75d084493a253dbd97b9dab (diff) |
ijar: implement stat_file on Windows
See https://github.com/bazelbuild/bazel/issues/2157
--
PiperOrigin-RevId: 148887981
MOS_MIGRATED_REVID=148887981
Diffstat (limited to 'third_party/ijar/BUILD')
-rw-r--r-- | third_party/ijar/BUILD | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD index a623d862f2..5e97bc84c6 100644 --- a/third_party/ijar/BUILD +++ b/third_party/ijar/BUILD @@ -51,6 +51,16 @@ cc_library( "platform_utils.h", ], visibility = ["//visibility:private"], + deps = select({ + "//src:windows": [ + "//src/main/cpp/util:file", + ], + "//src:windows_msvc": [ + "//src/main/cpp/util:file", + ], + "//conditions:default": [ + ], + }), ) cc_binary( @@ -74,4 +84,4 @@ filegroup( name = "srcs", srcs = glob(["**"]) + ["//third_party/ijar/test:srcs"], visibility = ["//third_party:__pkg__"], -)
\ No newline at end of file +) |