OSDN Git Service

Store native libs aligned to PAGE_SIZE
authorDmitriy Ivanov <dimitry@google.com>
Wed, 23 Jul 2014 22:27:21 +0000 (15:27 -0700)
committerNarayan Kamath <narayan@google.com>
Thu, 26 Feb 2015 12:31:40 +0000 (12:31 +0000)
commit13e5965306212a9051772ff1d5bc3a88e5fb519a
treea7f9df0715cae66a22c1901522f520bd561e3b70
parent876f45e73f938cdaa7cfc25c43822fc6b274f105
Store native libs aligned to PAGE_SIZE

- Add a new flag to zipalign (-p) that page aligns shared
  libraries (zip entries ending with ".so") in the archive.

- Add a new build variable LOCAL_PAGE_ALIGN_SHARED_LIBRARIES
  to turn on this behaviour in zipalign.

- Add a new LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS to control
  zip behaviour.

Bug: 8076853
Bug: 19330157

Co-Authored-By: Simon Baldwin <simonb@google.com>
Co-Authored-By: Dimitry Ivanov <dimitry@google.com>
Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
core/clear_vars.mk
core/definitions.mk
core/package_internal.mk
core/prebuilt_internal.mk
tools/zipalign/ZipAlign.cpp