aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/BUILD
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2017-03-03 09:41:53 +0000
committerGravatar Yue Gan <yueg@google.com>2017-03-03 10:40:03 +0000
commitb2f1e19ae8b82bc6c2ddc7f5b5ccec1544fd7901 (patch)
tree05745ba5511d75f16900d334b289cac6443048c1 /third_party/ijar/BUILD
parentea1f8c483018bec1cb829a53e5575ca25fc1cc0d (diff)
*** Reason for rollback *** Fixed all errors. *** Original change description *** Automated [] rollback of commit 69a127b8f4e353ecb163688ed3271fb47e0f385d. -- PiperOrigin-RevId: 149092038 MOS_MIGRATED_REVID=149092038
Diffstat (limited to 'third_party/ijar/BUILD')
-rw-r--r--third_party/ijar/BUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD
index 5e97bc84c6..7836ea1bd9 100644
--- a/third_party/ijar/BUILD
+++ b/third_party/ijar/BUILD
@@ -30,7 +30,18 @@ cc_library(
deps = [
":platform_utils",
":zlib_client",
- ],
+ ] + select({
+ "//src:windows": [
+ "//src/main/cpp/util:errors",
+ "//src/main/cpp/util:file",
+ ],
+ "//src:windows_msvc": [
+ "//src/main/cpp/util:errors",
+ "//src/main/cpp/util:file",
+ ],
+ "//conditions:default": [
+ ],
+ }),
)
cc_library(
@@ -51,16 +62,10 @@ 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": [
- ],
- }),
+ deps = [
+ "//src/main/cpp/util:errors",
+ "//src/main/cpp/util:file",
+ ],
)
cc_binary(