OSDN Git Service

releasetools: Replace key values in permission files during re-signing
authorBrint E. Kriebel <bekit@cyngn.com>
Thu, 4 Feb 2016 21:48:13 +0000 (13:48 -0800)
committerSteve Kondik <steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000 (21:47 -0700)
commit0c9342fe4c6af79872e8360be564b1ef008c6b3b
tree36bce419f29685990d5895aa9b8e29fc11d4f196
parent42d37a40462863f90e9ade9d53937690eb0c59fc
releasetools: Replace key values in permission files during re-signing

Permission files may grant permissions based on signatures in the same
way mac_permissions grants selinux permissions. In order to have this
work properly with dev-key and production key signed builds, allow these
files to be re-written during the signing process to replace the value
of the keys in production signed builds.

Change-Id: Id0311e49f8bba5a9f71b2fa49b480cb74779c853
Ticket: CYNGNOS-1877, RM-179
tools/releasetools/sign_target_files_apks.py