diff options
author | aberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 14:28:52 +0000 |
---|---|---|
committer | aberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 14:28:52 +0000 |
commit | e161710d52ed947f419f077c919cf7f05283da1d (patch) | |
tree | 36828a407172030163296b74cc4d2e796d945ef9 /testing | |
parent | ac30ee4d7a5b91c07f18ab36eb8b1783f32f8045 (diff) | |
download | chromium_src-e161710d52ed947f419f077c919cf7f05283da1d.zip chromium_src-e161710d52ed947f419f077c919cf7f05283da1d.tar.gz chromium_src-e161710d52ed947f419f077c919cf7f05283da1d.tar.bz2 |
Check library version and handle library load errors
This CL modifies the build to incorporate the expected C++ library version
in the Java code. This is then checked when the library is loaded, to
make sure that the C++ and Java builds match.
This CL also implements error handling when library loads fail or the
loaded version doesn't match the expected version.
BUG=311644
Review URL: https://codereview.chromium.org/59533009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
-rw-r--r-- | testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java index b8e41c83..9063ee3 100644 --- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java +++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java @@ -68,7 +68,7 @@ public class ChromeNativeTestActivity extends Activity { } private void loadLibraries() { - for (String library: NativeLibraries.libraries) { + for (String library: NativeLibraries.LIBRARIES) { Log.i(TAG, "loading: " + library); System.loadLibrary(library); Log.i(TAG, "loaded: " + library); |