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

Unified Diff: third_party/ijar/ijar.gni

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 | « third_party/ijar/ijar.cc ('k') | third_party/ijar/zip.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ijar/ijar.gni
diff --git a/third_party/ijar/ijar.gni b/third_party/ijar/ijar.gni
new file mode 100644
index 0000000000000000000000000000000000000000..61f37c6fdf041a6521ce1f1755005ba84b352250
--- /dev/null
+++ b/third_party/ijar/ijar.gni
@@ -0,0 +1,32 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/compiled_action.gni")
+
+# Create an interface jar from a normal jar.
+#
+# Variables
+# input_jar: Path to input .jar.
+# output_jar: Path to output .ijar.
+#
+template("generate_interface_jar") {
+ compiled_action(target_name) {
+ forward_variables_from(invoker,
+ [
+ "deps",
+ "testonly",
+ ])
+ tool = "//third_party/ijar"
+ inputs = [
+ invoker.input_jar,
+ ]
+ outputs = [
+ invoker.output_jar,
+ ]
+ args = [
+ rebase_path(invoker.input_jar, root_build_dir),
+ rebase_path(invoker.output_jar, root_build_dir),
+ ]
+ }
+}
« no previous file with comments | « third_party/ijar/ijar.cc ('k') | third_party/ijar/zip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698