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:
5125e44
)
map -e with no cert to PRESIGNED
author
Doug Zongker
<dougz@android.com>
Wed, 16 Dec 2009 01:27:49 +0000
(17:27 -0800)
committer
Doug Zongker
<dougz@android.com>
Wed, 16 Dec 2009 01:27:49 +0000
(17:27 -0800)
Needed for backwards compatibility with scripts that use -e.
tools/releasetools/sign_target_files_apks
patch
|
blob
|
history
diff --git
a/tools/releasetools/sign_target_files_apks
b/tools/releasetools/sign_target_files_apks
index
4ec9347
..
91e03f4
100755
(executable)
--- a/
tools/releasetools/sign_target_files_apks
+++ b/
tools/releasetools/sign_target_files_apks
@@
-91,6
+91,8
@@
def GetApkCerts(tf_zip):
# apply all the -e options, overriding anything in the file
for apk, cert in OPTIONS.extra_apks.iteritems():
+ if not cert:
+ cert = "PRESIGNED"
certmap[apk] = OPTIONS.key_map.get(cert, cert)
return certmap