Merge \\"Handle multiple APKs from the same package in check_target_files_signatures.py.\\" am: 653980bfe4

am: 88f7e6a867

Change-Id: Ie175a7ae9c6fc4fcefecd0e7090acdad25157f47
This commit is contained in:
Tao Bao 2016-07-28 04:43:47 +00:00 committed by android-build-merger
commit c57f2e6f65

View file

@ -245,7 +245,7 @@ class TargetFiles(object):
fullname = os.path.join(dirpath, fn)
displayname = fullname[len(d)+1:]
apk = APK(fullname, displayname)
self.apks[apk.package] = apk
self.apks[apk.filename] = apk
self.apks_by_basename[os.path.basename(apk.filename)] = apk
self.max_pkg_len = max(self.max_pkg_len, len(apk.package))
@ -316,8 +316,7 @@ class TargetFiles(object):
self.max_pkg_len, apk.package,
apk.shared_uid)
else:
print " %-*s %-*s" % (self.max_fn_len, apk.filename,
self.max_pkg_len, apk.package)
print " %-*s %s" % (self.max_fn_len, apk.filename, apk.package)
print
def CompareWith(self, other):