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

Unified Diff: build/config/android/internal_rules.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 | « no previous file | third_party/ijar/BUILD » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 26d31fce5c38d9401bcee0037d5727b208a17b5d..1bc02b2d9a3590e9643239d5792886a922f23f83 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/android/config.gni")
+import("//third_party/ijar/ijar.gni")
assert(is_android)
@@ -476,26 +477,11 @@ template("process_java_prebuilt") {
}
}
- action("${target_name}__jar_toc") {
- script = "//build/android/gyp/jar_toc.py"
- depfile = "$target_gen_dir/$target_name.d"
- outputs = [
- depfile,
- _jar_toc_path,
- _jar_toc_path + ".md5.stamp",
- ]
- inputs = [
- _output_jar_path,
- ]
- args = [
- "--depfile",
- rebase_path(depfile, root_build_dir),
- "--jar-path",
- rebase_path(_output_jar_path, root_build_dir),
- "--toc-path",
- rebase_path(_jar_toc_path, root_build_dir),
- ]
- public_deps = [
+ # TODO(agrieve): Change file extension to .ijar and use them in classpaths.
+ generate_interface_jar("${target_name}__jar_toc") {
+ input_jar = _output_jar_path
+ output_jar = _jar_toc_path
+ deps = [
":$_output_jar_target",
]
}
« no previous file with comments | « no previous file | third_party/ijar/BUILD » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698