History log of /frameworks/base/core/tests/webkit/unit_tests_src/com/android/webkit/WebViewLibraryLoaderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36bed13f8340359fac1c709460cfa95142c5e6a1 18-Sep-2017 Gustav Sennton <gsennton@google.com> [WebView] Clean up code for finding paths and sizes of native libs

Now that we no longer pass the paths of the native WebView libraries to
the native loading code we can simplify the code for fetching the path
and the size of the native WebView library.

Also add automated tests (WebViewLoadingTests) for loading native
libraries from test APKs where the libraries are stored either on disk
or as uncompressed libraries in the APKs.

Bug: 28736099
Test: start WebView-app, and ensure that the relro file is loaded into
the app process. Do this for both 32-, and 64-bit apps. And both for a
WebView APK where the libraries are loaded onto disk, and an APK where
the libraries are loaded uncompressed from the APK.
Test: make WebViewLoadingTests && make tradefed-all && \
tradefed.sh run template/local_min --template:map test=WebViewLoadingTests

Change-Id: I219dd03aa93de8cf6e64e01f1d8abe38474f5790
/frameworks/base/core/tests/webkit/unit_tests_src/com/android/webkit/WebViewLibraryLoaderTest.java