Skip to content

Commit

Permalink
Depend on @bazel_tools//third_party/ijar:zip from java_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Jul 23, 2019
1 parent f5a6ee1 commit 95a0840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 35 deletions.
1 change: 1 addition & 0 deletions third_party/ijar/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ cc_library(
"//src:__subpackages__",
"//third_party/ijar:__subpackages__",
"//tools/test:__pkg__",
"@local_java_tools//:__pkg__",
],
deps = [
":platform_utils",
Expand Down
36 changes: 1 addition & 35 deletions tools/jdk/BUILD.java_tools
Original file line number Diff line number Diff line change
Expand Up @@ -347,41 +347,7 @@ cc_binary(
"java_tools/ijar/classfile.cc",
"java_tools/ijar/ijar.cc",
],
deps = [":zip"],
)

cc_library(
name = "zip",
srcs = [
"java_tools/ijar/zip.cc",
] + select({
":windows": [
"java_tools/ijar/mapped_file_windows.cc",
],
"//conditions:default": [
"java_tools/ijar/mapped_file_unix.cc",
],
}),
hdrs = [
"java_tools/ijar/common.h",
"java_tools/ijar/mapped_file.h",
"java_tools/ijar/zip.h",
],
include_prefix = "third_party",
strip_include_prefix = "java_tools",
deps = [
":platform_utils",
":zlib_client",
] + select({
":windows": [
":errors",
":filesystem",
":logging",
":strings",
],
"//conditions:default": [
],
}),
deps = ["@bazel_tools//third_party/ijar:zip"],
)

cc_library(
Expand Down

0 comments on commit 95a0840

Please sign in to comment.