/build/hb/util/ |
H A D | product_util.py | 49 info = IoUtil.read_json_file(config_path) 50 product_name = info.get('product_name') 51 if info.get('product_path'): 53 config.root_path, info.get('product_path')) 65 'version': info.get('version', '3.0'), 66 'os_level': info.get('type', "mini"), 67 'build_out_path': info.get('build_out_path'), 69 info.get('subsystem_config_json'), 73 'component_type': info.get('component_type', '') 81 'version': info [all...] |
H A D | system_util.py | 64 info = re.findall(useful_info_pattern, line) 65 if len(info): 66 LogUtil.hb_info(info[0], mode=log_mode)
|
/build/ohos/sdk/ |
H A D | generate_hap_build_sdk_config.py | 35 for info in info_list: 36 if info.get("install_dir").startswith("previewer"): 38 if "linux" not in info.get("target_os"): 40 new_info_list.append(info)
|
H A D | parse_public_sdk.py | 86 for info in info_list: 87 label = str(info.get("module_label")) 92 info["module_label"] = label 93 public_info_list.append(info)
|
/build/ohos/ |
H A D | generate_part_info.py | 29 # read subsystem module info 33 "read part '{}' modules info failed.".format(part_name)) 53 for info in all_module_info: 54 module_def = info.get('module_def') 59 thirdparty = info.get('subsystem_name') 61 thirdparty_module_list.append(info) 62 external_module_list.append(info) 64 hdi_module_list.append(info) 65 external_module_list.append(info) 66 _module_part_name = info [all...] |
/build/hb/test/unitTest/services/ |
H A D | test.py | 25 def __init__(self, status=True, info=''): 27 self.info = info
|
/build/ohos/packages/ |
H A D | kernel_permission.py | 97 for info in file_list: 98 kernel_permission_file = os.path.join(out_path, info.get("kernel_permission_path")) 102 target_name = info.get("target_name") 103 output_extension = info.get("gn_output_extension") 104 output_name = info.get("gn_output_name") 105 part_name = info.get("part_name") 106 subsystem_name = info.get("subsystem_name") 107 target_type = info.get("type")
|
H A D | generate_host_symlink.py | 32 for info in part_modules_host_info: 33 if info: 34 module_def = info.get('module_def') 35 module_info_file = info.get('module_info_file') 53 parser.add_argument('--all-parts-host-info-file', required=True)
|
H A D | gen_required_modules_list.py | 66 for info in data: 67 result.append(info.get(get_arrt_name)) 73 parser.add_argument('--system-installed-info-file', required=True)
|
H A D | modules_install.py | 38 # read subsystem module info 42 "read part '{}' installed modules info failed.".format( 46 for info in part_install_info: 47 module_def = info.get('module_def') 48 module_info_file = info.get('module_info_file') 79 raise Exception("read module install info file '{}' error.".format(value)) 86 # get post process modules info 167 # write install module info to file 170 # write all module info 179 parser.add_argument('--system-install-info [all...] |
/build/tools/component_tools/static_check/gn_check/ |
H A D | check_gn.py | 133 info = line.split(':') 134 if info[2].find("==") == -1: 136 file_name = info[0][len(self.abs_check_path) + 1:] 138 info[1], info[2].strip()), rules, issue]) 165 info = line.split(':') 166 if info[2].find("==") == -1: 168 file_name = info[0][len(self.ohos_root) + 1:] 178 info[1], info[ [all...] |
H A D | gn_common_tools.py | 58 logging.info("total: %s", len(result_set)) 83 logging.info(cmd)
|
/build/ohos/sa_profile/ |
H A D | sa_profile_binary.py | 31 raise Exception("read no src subsystem info file failed.") 33 for info in install_parts_info: 34 if 'is_source' not in info: 36 "read subsystem info error, missing key is_source.") 37 if info.get('is_source') is True: 39 if 'part_name' not in info: 40 raise Exception("read part info error, missing key part_name.") 42 part_name = info.get('part_name') 56 print("warning: sa profile archive info file does not exist.") 61 raise Exception("read sa profile archive info fil [all...] |
H A D | sa_profile.py | 28 info = { 33 write_json_file(out_info_file, info) 40 parser.add_argument('--output-module-info-file', required=True)
|
/build/ohos/common/ |
H A D | binary_install_info.py | 31 print("dist subsystem info file [{}] no exist.".format( 37 raise Exception("read install parts info file failed.") 47 for info in dist_parts_info: 48 part_name = info.get('part_name') 50 required_subsystem += [info] 60 parser.add_argument('--dist-parts-info-file', required=True) 61 parser.add_argument('--parts-src-installed-info-file', required=True) 62 parser.add_argument('--binary-installed-info-file', required=True)
|
/build/hb/util/preloader/ |
H A D | preloader_process_data.py | 115 # Update the syscap info 341 info = {} 345 info['{}:{}'.format(subsystem_name, part_name)] = {} 346 return info 349 info = {} 352 info[subsystem_name] = { 356 return info 393 info = {} 394 info['{}:{}'.format(subsystem_name, part_name)] = {} 395 return info [all...] |
/build/templates/kernel/linux-5.10/ |
H A D | Makefile | 5 $(info obj_list = $(obj_list)) 8 $(info target_ko_name-y = ${target_ko_name}-y)
|
/build/templates/kernel/linux-6.6/ |
H A D | Makefile | 5 $(info obj_list = $(obj_list)) 8 $(info target_ko_name-y = ${target_ko_name}-y)
|
/build/lite/ |
H A D | gen_module_notice_file.py | 55 for info in opensource_config: 56 license_file = info.get('License File') 57 license_name = info.get('License') 58 software_name = '{} {}'.format(info.get('Name'), 59 info.get('Version Number'))
|
/build/hb/util/loader/ |
H A D | load_ohos_build.py | 109 """"part object info, description part variant.""" 184 # output inner kits info to resolve external deps 187 info, lib_name, lib_type = self._parsing_base_info(inner_kits_lib, part_name) 188 self._components_info[lib_name] = info 199 info['header_base'] = header_base 200 info['header_files'] = header.get('header_files') 201 _libs_info[lib_name] = info 221 """part component info.""" 269 """part info.""" 303 info [all...] |
/build/hb/resources/ |
H A D | global_var.py | 96 def set_hpm_check_info(info): 98 HPM_CHECK_INFO = info
|
/build/tools/component_tools/static_check/bundle_check/ |
H A D | get_subsystem_with_component.py | 137 print("------------ warning info ------------------") 154 info = get_subsystem_components(oh_path) variable 155 export_to_json(info, out_path)
|
/build/tools/component_tools/static_check/ |
H A D | csct_online.py | 90 info = table.get_string() 98 print(str(info))
|
/build/scripts/ |
H A D | code_release.py | 64 for info in opensource_config: 65 _license = info.get('License')
|
/build/scripts/util/ |
H A D | build_utils.py | 505 for info in in_zip.infolist(): 507 if info.filename[-1] == '/': 509 dst_name = path_transform(info.filename) 519 data=in_zip.read(info), 520 compress=info.compress_type != zipfile.ZIP_STORED)
|