OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2913ecc
)
Use zipalign -p to page align .so files
author
Brian Carlstrom
<bdc@google.com>
Fri, 22 May 2015 22:51:19 +0000
(15:51 -0700)
committer
Brian Carlstrom
<bdc@google.com>
Fri, 22 May 2015 22:51:19 +0000
(15:51 -0700)
Bug:
21400810
Change-Id: Ie9a0ec0a55511383596016e830b474c76754277a
tools/releasetools/common.py
patch
|
blob
|
history
diff --git
a/tools/releasetools/common.py
b/tools/releasetools/common.py
index
4f85491
..
49203ed
100644
(file)
--- 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,))