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

Unified Diff: base/android/jni_generator/jni_generator.gyp

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi Created 8 years, 5 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 | « base/android/build_info.cc ('k') | base/android/jni_generator/jni_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_generator/jni_generator.gyp
diff --git a/base/android/jni_generator/jni_generator.gyp b/base/android/jni_generator/jni_generator.gyp
index 0bd3d46838f5b714df47e3b9137d2f189ae4e145..dc32d22d727714e9b05c83d111534ba4411ef1b0 100644
--- a/base/android/jni_generator/jni_generator.gyp
+++ b/base/android/jni_generator/jni_generator.gyp
@@ -28,25 +28,13 @@
{
'target_name': 'jni_sample_header',
'type': 'none',
- 'actions': [
- {
- 'action_name': 'generate_jni_sample_header',
- 'inputs': [
- 'jni_generator.py',
- 'SampleForTests.java',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/base/jni/sample_for_tests_jni.h',
- ],
- 'action': [
- 'python',
- 'jni_generator.py',
- '-o',
- '<@(_inputs)',
- '<@(_outputs)',
- ],
- },
+ 'sources': [
+ 'SampleForTests.java',
],
+ 'variables': {
+ 'jni_gen_dir': 'base',
+ },
+ 'includes': [ '../../../build/jni_generator.gypi' ],
},
{
'target_name': 'jni_generator_tests',
« no previous file with comments | « base/android/build_info.cc ('k') | base/android/jni_generator/jni_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698