aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/BUILD
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2016-12-01 12:56:43 +0000
committerGravatar Irina Iancu <elenairina@google.com>2016-12-01 13:31:42 +0000
commit645dbc4e24f3c5b08cf4701906f4a1e54db3583b (patch)
tree1a6b780f85b94c597de2db6fcade40183b6dad90 /third_party/ijar/BUILD
parentec1cc8fa6cbdbba6e2689d3a814e095bb068e15e (diff)
Ijar: extract file stating logic to platform_utils
This change takes us closer to compiling ijar, thus Bazel, with MSVC. See https://github.com/bazelbuild/bazel/issues/2107 and https://github.com/bazelbuild/bazel/issues/2157 -- MOS_MIGRATED_REVID=140717828
Diffstat (limited to 'third_party/ijar/BUILD')
-rw-r--r--third_party/ijar/BUILD15
1 files changed, 14 insertions, 1 deletions
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD
index 63d1182e63..41376208aa 100644
--- a/third_party/ijar/BUILD
+++ b/third_party/ijar/BUILD
@@ -27,7 +27,10 @@ cc_library(
"mapped_file.h",
"zip.h",
],
- deps = [":zlib_client"],
+ deps = [
+ ":platform_utils",
+ ":zlib_client",
+ ],
)
cc_library(
@@ -40,6 +43,16 @@ cc_library(
deps = ["//third_party/zlib"],
)
+cc_library(
+ name = "platform_utils",
+ srcs = ["platform_utils.cc"],
+ hdrs = [
+ "common.h",
+ "platform_utils.h",
+ ],
+ visibility = ["//visibility:private"],
+)
+
cc_binary(
name = "zipper",
srcs = ["zip_main.cc"],