Merge "releasetools: Remove the parsing of META/imagesizes.txt."

am: 3aee4dfac1

Change-Id: If3606b3ebe8fe795748022634af7c1de8a621587
This commit is contained in:
Tao Bao 2018-02-26 22:32:09 +00:00 committed by android-build-merger
commit 72f3c44243
1 changed files with 0 additions and 15 deletions

View File

@ -221,21 +221,6 @@ def LoadInfoDict(input_file, input_dir=None):
vendor_base_fs_file,))
del d["vendor_base_fs_file"]
try:
data = read_helper("META/imagesizes.txt")
for line in data.split("\n"):
if not line:
continue
name, value = line.split(" ", 1)
if not value:
continue
if name == "blocksize":
d[name] = value
else:
d[name + "_size"] = value
except KeyError:
pass
def makeint(key):
if key in d:
d[key] = int(d[key], 0)