diff options
author | Ying Wang <wangying@google.com> | 2011-11-02 11:19:28 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2011-11-02 11:19:28 -0700 |
commit | c0debb9b5e2f2f5deb00fb7db5b5c03177b06460 (patch) | |
tree | be980e2d861fdb5d92d24ffb6f37945bbe0eef4d /tools/releasetools/build_image.py | |
parent | f63cdea84dd07c0dca7f13c159d91f3400f9989a (diff) | |
download | build-c0debb9b5e2f2f5deb00fb7db5b5c03177b06460.zip build-c0debb9b5e2f2f5deb00fb7db5b5c03177b06460.tar.gz build-c0debb9b5e2f2f5deb00fb7db5b5c03177b06460.tar.bz2 |
Revert "Build cache.img."
This reverts commit 531bdb546af5127ed9c1012871d780930eb990f5.
Diffstat (limited to 'tools/releasetools/build_image.py')
-rwxr-xr-x | tools/releasetools/build_image.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py index 8ef8975..b5140a9 100755 --- a/tools/releasetools/build_image.py +++ b/tools/releasetools/build_image.py @@ -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): |