Commit Graph

5 Commits

Author SHA1 Message Date
jdesprez
60b0348c3d Update a bunch of AndroidTest for apct suite
Test: build device-tests
Bug: 74440293
Change-Id: I3c64eb8b5b2932632dd5dd46a5894a68a4835790
2018-03-14 10:03:56 -07:00
Anton Hansson
d137c872cd frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
2018-03-07 11:42:04 +00:00
Torne (Richard Coles)
9b73804cae Add OWNERS for webview directories in framework.
Bug: 73450992
Test: N/A
Change-Id: I20e186eca8b02fa4e2d0eb729b94df8a36983906
2018-02-20 10:48:51 -05:00
Chih-Hung Hsieh
e31b25632e Use -Werror in frameworks/base/core/tests/webkit/apk_with_native_libs
* Comment out unused parameter names.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If58bb6098f92e78400c71e7418a956a08bab6c36
2017-11-10 15:00:40 -08:00
Gustav Sennton
36bed13f83 [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
2017-10-27 10:55:19 +01:00