aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/BUILD
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-03-02 14:48:01 +0000
committerGravatar Yue Gan <yueg@google.com>2017-03-03 10:35:31 +0000
commit14b53897b499da457e26aa779c3b63c85838f204 (patch)
tree1bba542fdaa5bbea2678fb5be2134523959701a5 /third_party/ijar/BUILD
parent654717f6f2e9e626b60debc657d3a8723f057b97 (diff)
*** Reason for rollback *** [] has detected that 500 or more targets failed to build at commit 69a127b8f4e353ecb163688ed3271fb47e0f385d, each of which successfully built at the prior CL that affected them. [] double-checked that //javatests/com/google/apphosting/tests/usercode:Security_StubTest built at 148995024. The verification run was: [] but the same target failed to build at 148995025. The [] link for this run is available here: [] To see all targets that ran, along with their final status, visit: [] Questions? Comments? See the URL. go/autorollback *** Original change description *** ijar: use bazel's file utilities This change not only implements ijar for Windows (with MSVC), but also fixes a bug in mapped_file_windows (path conversion didn't make the input path absolute, so we could not build java code with the MSYS-less bazel). Fixes https://github.com/bazelbuild/bazel/issues/2157 -- PiperOrigin-RevId: 148998092 MOS_MIGRATED_REVID=148998092
Diffstat (limited to 'third_party/ijar/BUILD')
-rw-r--r--third_party/ijar/BUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD
index 7836ea1bd9..5e97bc84c6 100644
--- a/third_party/ijar/BUILD
+++ b/third_party/ijar/BUILD
@@ -30,18 +30,7 @@ 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(
@@ -62,10 +51,16 @@ cc_library(
"platform_utils.h",
],
visibility = ["//visibility:private"],
- deps = [
- "//src/main/cpp/util:errors",
- "//src/main/cpp/util:file",
- ],
+ deps = select({
+ "//src:windows": [
+ "//src/main/cpp/util:file",
+ ],
+ "//src:windows_msvc": [
+ "//src/main/cpp/util:file",
+ ],
+ "//conditions:default": [
+ ],
+ }),
)
cc_binary(