Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: base/android/jni_generator/

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL:
Patch Set: Created 6 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
Index: base/android/jni_generator/
diff --git a/base/android/jni_generator/ b/base/android/jni_generator/
index f5aab86c07f0e38da68ca7083e069a23835f859c..ea141a3d09fe4a3a2aeaeab9238a5b7f4515f063 100755
--- a/base/android/jni_generator/
+++ b/base/android/jni_generator/
@@ -347,6 +347,7 @@ def GetStaticCastForReturnType(return_type):
'short[]': 'jshortArray',
'int[]': 'jintArray',
'long[]': 'jlongArray',
+ 'float[]': 'jfloatArray',
'double[]': 'jdoubleArray' }
ret = type_map.get(return_type, None)
if ret:

Powered by Google App Engine
This is Rietveld 408576698