Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: content/public/android/java/templates/NativeLibraries.template

Issue 59533009: Check library version and handle library load errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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: content/public/android/java/templates/NativeLibraries.template
diff --git a/content/public/android/java/templates/NativeLibraries.template b/content/public/android/java/templates/NativeLibraries.template
index b6d0dac3f1dd52e4de49f781f1555fc367f82f27..65f0c30e76a419a1476507fce4f8c6c8f9ad7d66 100644
--- a/content/public/android/java/templates/NativeLibraries.template
+++ b/content/public/android/java/templates/NativeLibraries.template
@@ -63,4 +63,10 @@ public class NativeLibraries {
public static String[] libraries
#include <native_libraries_array.h>
;
+ // This is the expected version of the 'main' native library, which is the one that
+ // implements the initial set of content JNI functions including
+ // content::nativeGetVersionName()
+ static String VersionName
+#include <native_libraries_version.h>
+ ;
}

Powered by Google App Engine
This is Rietveld 408576698