DescriptionRe-invent page aligning libraries in APK file.
With this change setting 'load_library_from_zip_file' to 1 will now
construct the APK with a new tool chain. The purpose of this change is
to contruct the APK in such a way that the page alignment is not broken
by the chrome signing process. To achieve this the tool is written in
Java so it shares the same underlying JarOutputStream implementation.
The key things that we depend on are that the filenames are output in
lexographical order with the META_INF files at the end of the file.
That zipalign adds 4 byte alignment to STORED files and this is done by
adding padding to the zip extra field.
BUG=390618
Committed: https://crrev.com/c83a88d39329e2a7d8bbc1de280d9e572d2f7c8a
Cr-Commit-Position: refs/heads/master@{#297439}
Patch Set 1 #
Total comments: 24
Patch Set 2 : Update for Ross' review #
Total comments: 18
Patch Set 3 : Update for Chris' review #Patch Set 4 : Update for Ross' review #Patch Set 5 : Update indentation #Patch Set 6 : Fix for the android_webview_build #
Messages
Total messages: 17 (5 generated)
|