| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Declare a jni target | 5 # Declare a jni target |
| 6 # | 6 # |
| 7 # This target generates the native jni bindings for a set of .java files. | 7 # This target generates the native jni bindings for a set of .java files. |
| 8 # | 8 # |
| 9 # See base/android/jni_generator/jni_generator.py for more info about the | 9 # See base/android/jni_generator/jni_generator.py for more info about the |
| 10 # format of generating JNI bindings. | 10 # format of generating JNI bindings. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 "--optimize_generation=1", | 48 "--optimize_generation=1", |
| 49 "--ptr_type=long", | 49 "--ptr_type=long", |
| 50 "--output_dir", rebase_path(jni_output_dir), | 50 "--output_dir", rebase_path(jni_output_dir), |
| 51 "--includes=${jni_generator_includes}", | 51 "--includes=${jni_generator_includes}", |
| 52 ] | 52 ] |
| 53 if (defined(invoker.jni_generator_jarjar_file)) { | 53 if (defined(invoker.jni_generator_jarjar_file)) { |
| 54 args += [ | 54 args += [ |
| 55 "--jarjar", rebase_path(jni_generator_jarjar_file) | 55 "--jarjar", rebase_path(jni_generator_jarjar_file) |
| 56 ] | 56 ] |
| 57 } | 57 } |
| 58 | |
| 59 hard_dep = true | |
| 60 } | 58 } |
| 61 } | 59 } |
| OLD | NEW |