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', |