am bc080d51: am 2a386e0c: Allow to build the update.zip for emulator build.

* commit 'bc080d510f022da8055b89b85e02d91e74c3757d':
  Allow to build the update.zip for emulator build.
This commit is contained in:
Ying Wang
2014-06-04 17:26:00 +00:00
committed by Android Git Automerger
3 changed files with 15 additions and 9 deletions

View File

@@ -485,6 +485,8 @@ def CheckSize(data, target, info_dict):
if target.endswith(".img"): target = target[:-4]
mount_point = "/" + target
fs_type = None
limit = None
if info_dict["fstab"]:
if mount_point == "/userdata": mount_point = "/data"
p = info_dict["fstab"][mount_point]