aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2023-02-10 17:07:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-02-10 17:07:47 +0000
commitfc73b737293a91856639fa6ce03b37340a53108a (patch)
treeb37a1f5b72114321acc8eb8f32de98a2b7d193e7
parentb8683276c15b4047ddd928ff246901b7138cded5 (diff)
parentc9cd082a69b11a0d1d2b17632554777988552ed0 (diff)
downloadbuild-main-16k-with-phones.tar.gz
Merge "16k: set 16k boundary for shared libs" into main-16k-with-phonesmain-16k-with-phones
-rw-r--r--tools/zipalign/ZipAlign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/zipalign/ZipAlign.cpp b/tools/zipalign/ZipAlign.cpp
index 23840e3945..aa73ce58bf 100644
--- a/tools/zipalign/ZipAlign.cpp
+++ b/tools/zipalign/ZipAlign.cpp
@@ -38,7 +38,7 @@ static bool isDirectory(ZipEntry* entry) {
static int getAlignment(bool pageAlignSharedLibs, int defaultAlignment,
ZipEntry* pEntry) {
- static const int kPageAlignment = 4096;
+ static const int kPageAlignment = TARGET_PAGE_SIZE;
if (!pageAlignSharedLibs) {
return defaultAlignment;