summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2015-05-22 23:01:42 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-22 23:01:42 +0000
commit1566a6fbfca6c32ff4062d03e6c1d45ccdd8c4da (patch)
treeff1eca52e29b8ac704985014e356ed872c6e7fbe
parented6b6350ea85246e508ea4b286d5ceaaa2ef29c8 (diff)
parent903186f938a447e459720f6825382470ebb77e37 (diff)
downloadbuild-1566a6fbfca6c32ff4062d03e6c1d45ccdd8c4da.zip
build-1566a6fbfca6c32ff4062d03e6c1d45ccdd8c4da.tar.gz
build-1566a6fbfca6c32ff4062d03e6c1d45ccdd8c4da.tar.bz2
Merge "Use zipalign -p to page align .so files" into mnc-dev
-rw-r--r--tools/releasetools/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py
index 4f85491..49203ed 100644
--- a/tools/releasetools/common.py
+++ b/tools/releasetools/common.py
@@ -545,7 +545,7 @@ def SignFile(input_name, output_name, key, password, align=None,
raise ExternalError("signapk.jar failed: return code %s" % (p.returncode,))
if align:
- p = Run(["zipalign", "-f", str(align), sign_name, output_name])
+ p = Run(["zipalign", "-f", "-p", str(align), sign_name, output_name])
p.communicate()
if p.returncode != 0:
raise ExternalError("zipalign failed: return code %s" % (p.returncode,))