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, 11 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 dd74c7a48d67ae6e7982f573ba62ae49b1ce57b4..f98eece668f5f5d5a76d0c7d11e678536b0d99fd 100755
--- a/base/android/jni_generator/
+++ b/base/android/jni_generator/
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -341,6 +342,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