• Home
  • Raw
  • Download

Lines Matching refs:OPTIONS

56 OPTIONS = common.OPTIONS
58 OPTIONS.additional_entries = []
59 OPTIONS.bootable_only = False
60 OPTIONS.put_super = None
61 OPTIONS.put_bootloader = None
62 OPTIONS.dynamic_partition_list = None
63 OPTIONS.super_device_list = None
64 OPTIONS.retrofit_dap = None
65 OPTIONS.build_super = None
66 OPTIONS.sparse_userimages = None
70 """Loads information from input_file to OPTIONS.
76 info = OPTIONS.info_dict = common.LoadInfoDict(input_zip)
78 OPTIONS.put_super = info.get('super_image_in_update_package') == 'true'
79 OPTIONS.put_bootloader = info.get('bootloader_in_update_package') == 'true'
80 OPTIONS.dynamic_partition_list = info.get('dynamic_partition_list',
82 OPTIONS.super_device_list = info.get('super_block_devices',
84 OPTIONS.retrofit_dap = info.get('dynamic_partition_retrofit') == 'true'
85 OPTIONS.build_super = info.get('build_super_partition') == 'true'
86 OPTIONS.sparse_userimages = bool(info.get('extfs_sparse_flag'))
113 dynamic_images = [p + '.img' for p in OPTIONS.dynamic_partition_list]
116 if not OPTIONS.retrofit_dap and 'system' in OPTIONS.dynamic_partition_list:
127 if OPTIONS.bootable_only and image not in('boot.img', 'recovery.img', 'bootloader'):
131 if image == 'bootloader' and not OPTIONS.put_bootloader:
134 if OPTIONS.put_super:
154 for device in OPTIONS.super_device_list:
176 allowZip64=not OPTIONS.sparse_userimages) as output_zip:
206 if OPTIONS.build_super and OPTIONS.put_super:
207 if OPTIONS.retrofit_dap:
213 entries += OPTIONS.additional_entries
225 OPTIONS.bootable_only = True
227 OPTIONS.additional_entries.append(a)