Revert "Build cache.img."

This reverts commit 531bdb546a.
This commit is contained in:
Ying Wang
2011-11-02 11:19:28 -07:00
parent f63cdea84d
commit c0debb9b5e
6 changed files with 3 additions and 74 deletions

View File

@@ -83,9 +83,6 @@ def ImagePropFromGlobalDict(glob_dict, mount_point):
elif mount_point == "data":
if "userdata_size" in glob_dict:
d["partition_size"] = str(glob_dict["userdata_size"])
elif mount_point == "cache":
if "cache_size" in glob_dict:
d["partition_size"] = str(glob_dict["cache_size"])
return d
@@ -120,8 +117,6 @@ def main(argv):
mount_point = "system"
elif image_filename == "userdata.img":
mount_point = "data"
elif image_filename == "cache.img":
mount_point = "cache"
image_properties = ImagePropFromGlobalDict(glob_dict, mount_point)
if not BuildImage(in_dir, image_properties, out_file):