|
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237779
Total comments: 16
Total comments: 19
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+337 lines, -139 lines) |
Patch |
 |
M |
android_webview/java/generated_src/org/chromium/content/app/NativeLibraries.java
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
|
View
|
1
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
build/android/findbugs_filter/findbugs_exclude.xml
|
View
|
1
2
3
4
5
6
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
M |
build/android/gyp/create_native_libraries_header.py
|
View
|
1
2
3
|
3 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
 |
M |
build/java_apk.gypi
|
View
|
1
2
|
5 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/sync/ChromiumSyncAdapter.java
|
View
|
1
2
3
|
3 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/java/src/org/chromium/chrome/testshell/signin/AccountsChangedReceiver.java
|
View
|
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellTestBase.java
|
View
|
1
2
3
4
5
|
4 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/app/android/chrome_android_initializer.cc
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_android.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/app/android/library_loader_hooks.cc
|
View
|
1
2
3
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/app/ChildProcessService.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/app/LibraryLoader.java
|
View
|
1
2
3
|
4 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
|
View
|
1
2
3
|
5 chunks |
+19 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/templates/NativeLibraries.template
|
View
|
1
|
1 chunk |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/android/java/templates/native_libraries_array.h
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
content/public/android/java/templates/native_libraries_version.h
|
View
|
1
2
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java
|
View
|
1
2
3
4
5
6
7
8
|
16 chunks |
+92 lines, -43 lines |
0 comments
|
Download
|
 |
M |
content/public/app/android_library_loader_hooks.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/result_codes_list.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
View
|
1
2
3
4
5
|
2 chunks |
+28 lines, -18 lines |
0 comments
|
Download
|
 |
M |
testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|