OLD | NEW |
(Empty) | |
| 1 package( |
| 2 default_visibility = [ |
| 3 "//src:__subpackages__", |
| 4 "//third_party/ijar:__subpackages__", |
| 5 ], |
| 6 ) |
| 7 |
| 8 licenses(["notice"]) # Apache 2.0 |
| 9 |
| 10 cc_library( |
| 11 name = "zip", |
| 12 srcs = ["zip.cc"], |
| 13 hdrs = [ |
| 14 "common.h", |
| 15 "zip.h", |
| 16 ], |
| 17 # TODO(bazel-team): we should replace the -lz flag, it is non-hermetic. |
| 18 # We should instead use a new_local_repository once the autoconf |
| 19 # mechanism is ready. |
| 20 linkopts = ["-lz"], |
| 21 ) |
| 22 |
| 23 cc_binary( |
| 24 name = "zipper", |
| 25 srcs = ["zip_main.cc"], |
| 26 visibility = ["//visibility:public"], |
| 27 deps = [":zip"], |
| 28 ) |
| 29 |
| 30 cc_binary( |
| 31 name = "ijar", |
| 32 srcs = [ |
| 33 "classfile.cc", |
| 34 "ijar.cc", |
| 35 ], |
| 36 visibility = ["//visibility:public"], |
| 37 deps = [":zip"], |
| 38 ) |
OLD | NEW |