Home | History | Annotate | Download | only in releasetools

Lines Matching refs:OPTIONS

53 OPTIONS = common.OPTIONS
68 os.symlink(os.path.join(OPTIONS.input_tmp, "SYSTEM"),
69 os.path.join(OPTIONS.input_tmp, "system"))
73 # os.path.join(OPTIONS.input_tmp, "system"))
78 image_props = build_image.ImagePropFromGlobalDict(OPTIONS.info_dict,
80 fstab = OPTIONS.info_dict["fstab"]
83 succ = build_image.BuildImage(os.path.join(OPTIONS.input_tmp, "system"),
91 common.CheckSize(data, "system.img", OPTIONS.info_dict)
99 image_props = build_image.ImagePropFromGlobalDict(OPTIONS.info_dict,
113 if not os.path.exists(os.path.join(OPTIONS.input_tmp, "vendor")):
114 if os.path.exists(os.path.join(OPTIONS.input_tmp, "VENDOR")):
115 os.symlink(os.path.join(OPTIONS.input_tmp, "VENDOR"),
116 os.path.join(OPTIONS.input_tmp, "vendor"))
118 os.mkdir(os.path.join(OPTIONS.input_tmp, "vendor"))
122 fstab = OPTIONS.info_dict["fstab"]
125 succ = build_image.BuildImage(os.path.join(OPTIONS.input_tmp, "vendor"),
129 common.CheckSize(img.name, "vendor.img", OPTIONS.info_dict)
137 image_props = build_image.ImagePropFromGlobalDict(OPTIONS.info_dict,
154 fstab = OPTIONS.info_dict["fstab"]
160 common.CheckSize(img.name, "userdata.img", OPTIONS.info_dict)
170 image_props = build_image.ImagePropFromGlobalDict(OPTIONS.info_dict,
186 fstab = OPTIONS.info_dict["fstab"]
192 common.CheckSize(img.name, "cache.img", OPTIONS.info_dict)
201 output_zip.write(os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"),
229 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])
230 OPTIONS.info_dict = common.LoadInfoDict(input_zip)
236 if "selinux_fc" in OPTIONS.info_dict:
237 OPTIONS.info_dict["selinux_fc"] = os.path.join(OPTIONS.input_tmp, "BOOT", "RAMDISK",
243 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT").AddToZip(output_zip)
245 "recovery.img", "recovery.img", OPTIONS.input_tmp,
257 shutil.rmtree(OPTIONS.input_tmp)