/build/tools/releasetools/ |
D | make_recovery_patch.py | 33 input_dir, output_dir = args 35 OPTIONS.info_dict = common.LoadInfoDict(input_dir) 38 input_dir, "RECOVERY") 40 input_dir, "BOOT") 49 common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
|
D | make_recovery_patch | 33 input_dir, output_dir = args 35 OPTIONS.info_dict = common.LoadInfoDict(input_dir) 38 input_dir, "RECOVERY") 40 input_dir, "BOOT") 49 common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
|
D | add_img_to_target_files | 75 def BuildSystem(input_dir, info_dict, block_list=None): argument 78 return CreateImage(input_dir, info_dict, "system", block_list=block_list) 97 def BuildVendor(input_dir, info_dict, block_list=None): argument 100 return CreateImage(input_dir, info_dict, "vendor", block_list=block_list) 103 def CreateImage(input_dir, info_dict, what, block_list=None): argument 112 os.symlink(os.path.join(input_dir, what.upper()), 113 os.path.join(input_dir, what)) 139 input_dir, "META/" + fs_config_prefix + "filesystem_config.txt") 149 succ = build_image.BuildImage(os.path.join(input_dir, what),
|
D | add_img_to_target_files.py | 75 def BuildSystem(input_dir, info_dict, block_list=None): argument 78 return CreateImage(input_dir, info_dict, "system", block_list=block_list) 97 def BuildVendor(input_dir, info_dict, block_list=None): argument 100 return CreateImage(input_dir, info_dict, "vendor", block_list=block_list) 103 def CreateImage(input_dir, info_dict, what, block_list=None): argument 112 os.symlink(os.path.join(input_dir, what.upper()), 113 os.path.join(input_dir, what)) 139 input_dir, "META/" + fs_config_prefix + "filesystem_config.txt") 149 succ = build_image.BuildImage(os.path.join(input_dir, what),
|
D | common.py | 132 def LoadInfoDict(input_file, input_dir=None): argument 188 if input_dir is not None: 195 fc_config = os.path.join(input_dir, "META", fc_basename) 199 fc_config = os.path.join(input_dir, "BOOT", "RAMDISK", fc_basename) 208 d["ramdisk_dir"] = os.path.join(input_dir, "ROOT") 210 input_dir, "META", "root_filesystem_config.txt") 215 system_base_fs_file = os.path.join(input_dir, "META", basename) 225 vendor_base_fs_file = os.path.join(input_dir, "META", basename) 1612 def MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img, argument 1637 path = os.path.join(input_dir, "SYSTEM", "etc", "recovery-resource.dat") [all …]
|
/build/tools/ |
D | generate-notice-files.py | 93 def combine_notice_files_html(file_hash, input_dir, output_filename): argument 96 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 151 def combine_notice_files_text(file_hash, input_dir, output_filename, file_title): argument 154 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 172 input_dir = os.path.normpath(args[3]) 174 for root, dir, files in os.walk(input_dir): 184 combine_notice_files_html(filesets, input_dir, html_output_file) 186 combine_notice_files_text(filesets, input_dir, txt_output_file, file_title)
|