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

Unified Diff: build/jar_file_jni_generator.gypi

Issue 12524008: Android: factor out use of SDK jar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove input_jar_file altogether. Created 7 years, 9 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/common.gypi ('k') | build/java.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/jar_file_jni_generator.gypi
diff --git a/build/jar_file_jni_generator.gypi b/build/jar_file_jni_generator.gypi
index 3a2447ec3cd323852d5a9706fa91dd84b3986308..dc02f25bca20df5f13588bb7044bfc5c4e7f88fc 100644
--- a/build/jar_file_jni_generator.gypi
+++ b/build/jar_file_jni_generator.gypi
@@ -12,7 +12,6 @@
# 'variables': {
# 'jni_gen_package': 'chrome',
# 'input_java_class': 'java/io/InputStream.class',
-# 'input_jar_file': '<(android_sdk)/android.jar',
# },
# 'includes': [ '../build/jar_file_jni_generator.gypi' ],
# },
@@ -26,7 +25,7 @@
'action_name': 'generate_jni_headers_from_jar_file',
'inputs': [
'<(jni_generator)',
- '<(input_jar_file)',
+ '<(android_sdk_jar)',
],
'variables': {
'java_class_name': '<!(basename <(input_java_class)|sed "s/\.class//")'
@@ -37,7 +36,7 @@
'action': [
'<(jni_generator)',
'-j',
- '<(input_jar_file)',
+ '<(android_sdk_jar)',
'--input_file',
'<(input_java_class)',
'--output_dir',
@@ -45,7 +44,7 @@
'--optimize_generation',
'<(optimize_jni_generation)',
],
- 'message': 'Generating JNI bindings from <(input_jar_file)/<(input_java_class)',
+ 'message': 'Generating JNI bindings from <(android_sdk_jar)/<(input_java_class)',
'process_outputs_as_sources': 1,
},
],
« no previous file with comments | « build/common.gypi ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698