Lines Matching refs:OPTIONS
39 OPTIONS = common.OPTIONS variable
41 OPTIONS.add_missing = False
42 OPTIONS.rebuild_recovery = False
48 prebuilt_path = os.path.join(OPTIONS.input_tmp, prefix, "system.img")
54 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w")
58 if OPTIONS.rebuild_recovery:
60 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
61 boot_img, info_dict=OPTIONS.info_dict)
64 imgname = BuildSystem(OPTIONS.input_tmp, OPTIONS.info_dict,
80 prebuilt_path = os.path.join(OPTIONS.input_tmp, prefix, "vendor.img")
86 imgname = BuildVendor(OPTIONS.input_tmp, OPTIONS.info_dict,
158 prebuilt_path = os.path.join(OPTIONS.input_tmp, prefix, "userdata.img")
163 image_props = build_image.ImagePropFromGlobalDict(OPTIONS.info_dict,
181 fstab = OPTIONS.info_dict["fstab"]
187 common.CheckSize(img.name, "userdata.img", OPTIONS.info_dict)
197 prebuilt_path = os.path.join(OPTIONS.input_tmp, prefix, "cache.img")
202 image_props = build_image.ImagePropFromGlobalDict(OPTIONS.info_dict,
218 fstab = OPTIONS.info_dict["fstab"]
224 common.CheckSize(img.name, "cache.img", OPTIONS.info_dict)
232 OPTIONS.input_tmp, input_zip = common.UnzipTemp(filename)
234 if not OPTIONS.add_missing:
246 OPTIONS.info_dict = common.LoadInfoDict(input_zip)
247 if "selinux_fc" in OPTIONS.info_dict:
248 OPTIONS.info_dict["selinux_fc"] = os.path.join(
249 OPTIONS.input_tmp, "BOOT", "RAMDISK", "file_contexts")
259 prebuilt_path = os.path.join(OPTIONS.input_tmp, "IMAGES", "boot.img")
263 if OPTIONS.rebuild_recovery:
265 "IMAGES/boot.img", "boot.img", OPTIONS.input_tmp, "BOOT")
268 "IMAGES/boot.img", "boot.img", OPTIONS.input_tmp, "BOOT")
274 prebuilt_path = os.path.join(OPTIONS.input_tmp, "IMAGES", "recovery.img")
277 if OPTIONS.rebuild_recovery:
279 "IMAGES/recovery.img", "recovery.img", OPTIONS.input_tmp, "RECOVERY")
282 "IMAGES/recovery.img", "recovery.img", OPTIONS.input_tmp, "RECOVERY")
301 OPTIONS.add_missing = True
303 OPTIONS.rebuild_recovery = True