summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-05 00:54:22 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-05 00:54:22 +0000
commit7a7e1cdc14267542749c404c9201debd4d5e40d6 (patch)
treef0fbb1492a4a87794afea3e417042210f86acfbc /build
parentf85f39a4e824588ac77053c49e9f692cc7b0d75e (diff)
downloadchromium_src-7a7e1cdc14267542749c404c9201debd4d5e40d6.zip
chromium_src-7a7e1cdc14267542749c404c9201debd4d5e40d6.tar.gz
chromium_src-7a7e1cdc14267542749c404c9201debd4d5e40d6.tar.bz2
Android: adds ptr_type to jni_generator.
Allows ptr_type to be configurable. BUG= Review URL: https://codereview.chromium.org/49913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/jni_generator.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/jni_generator.gypi b/build/jni_generator.gypi
index 680a0ee..a6c8364 100644
--- a/build/jni_generator.gypi
+++ b/build/jni_generator.gypi
@@ -31,6 +31,7 @@
'variables': {
'jni_generator': '<(DEPTH)/base/android/jni_generator/jni_generator.py',
'jni_generator_jarjar_file%': '',
+ 'jni_generator_ptr_type%': 'int',
},
'rules': [
{
@@ -52,6 +53,8 @@
'<(optimize_jni_generation)',
'--jarjar',
'<(jni_generator_jarjar_file)',
+ '--ptr_type',
+ '<(jni_generator_ptr_type)',
],
'message': 'Generating JNI bindings from <(RULE_INPUT_PATH)',
'process_outputs_as_sources': 1,