Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: third_party/ijar/BUILD

Issue 1323053003: Add ijar to third_party and use it for generating .jar.toc files in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compiled_action
Patch Set: fix release mode Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/ijar/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ijar/BUILD
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD
new file mode 100644
index 0000000000000000000000000000000000000000..5f22b676b3a1ba99e1e7ac83e73c043795bf1be2
--- /dev/null
+++ b/third_party/ijar/BUILD
@@ -0,0 +1,38 @@
+package(
+ default_visibility = [
+ "//src:__subpackages__",
+ "//third_party/ijar:__subpackages__",
+ ],
+)
+
+licenses(["notice"]) # Apache 2.0
+
+cc_library(
+ name = "zip",
+ srcs = ["zip.cc"],
+ hdrs = [
+ "common.h",
+ "zip.h",
+ ],
+ # TODO(bazel-team): we should replace the -lz flag, it is non-hermetic.
+ # We should instead use a new_local_repository once the autoconf
+ # mechanism is ready.
+ linkopts = ["-lz"],
+)
+
+cc_binary(
+ name = "zipper",
+ srcs = ["zip_main.cc"],
+ visibility = ["//visibility:public"],
+ deps = [":zip"],
+)
+
+cc_binary(
+ name = "ijar",
+ srcs = [
+ "classfile.cc",
+ "ijar.cc",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [":zip"],
+)
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/ijar/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698