Android/KitKat: clean up extracted files earlier
On Android KitKat, the native library must be extracted manually from the APK file. All library files are extracted, and then after the native library is identified, the unused libraries are cleaned up. This CL changes this cleanup to happen on a java thread rather than doing a PostTask, which waits for native library loading to finish. There is no reason to wait for the native load to do this cleanup, and in addition waiting for native loading has made the EarlyTraceEvent tests flake (see the bug). Bug: 930174 Change-Id: Iad417e6d7e535ff1b735ab955086e913f622fd2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1605682Reviewed-by:David Turner <digit@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Auto-Submit: Matthew Cary <mattcary@chromium.org> Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#658717}
Showing
Please register or sign in to comment