/build/hb/resolver/ |
H A D | clean_args_resolver.py | 46 if config.out_path is not None and config.out_path != '' \ 47 and config.out_path.startswith(CURRENT_OHOS_ROOT) and os.path.exists(config.out_path): 49 'Clean {} directory that generated by last compilation'.format(config.out_path)) 50 shutil.rmtree(config.out_path)
|
H A D | build_args_resolver.py | 255 out_path = config.out_path 256 logfile = os.path.join(out_path, 'build.log') 259 rename_file(logfile, '{}/build.{}.log'.format(out_path, mtime)) 596 '--tracelog', '{}/gn_trace.log'.format(Config().out_path)) 698 config.out_path, 'packages/phone/system/etc/param/ohos.para') 728 config.out_path, 'packages', 'phone', 'images') 731 config.out_path, 'images.tar.gz') 733 SystemUtil.exec_command(cmd, log_path=config.out_path) 810 '{}/build.log'.format(config.out_path), [all...] |
H A D | set_args_resolver.py | 72 config.out_path = os.path.join(config.root_path, 76 config.out_path = os.path.join(config.root_path, 'out', 79 config.out_path = os.path.join(config.root_path, 'out',
|
/build/ohos/packages/ |
H A D | kernel_permission.py | 35 def run(out_path, root_path): 36 target_out_path = os.path.join(root_path, out_path.lstrip("//")) 42 def scan_file(out_path): 47 file_path = file_path = os.path.join(out_path, "build_configs/kernel_permission/") 56 def execute_kernel_permission_cmd(out_path, root_path): 66 file_list = KernelPermission.scan_file(out_path) 68 cmds = KernelPermission.gen_cmds(file_list, out_path, llvm_tool) 91 def gen_cmds(file_list, out_path, llvm_path): 98 kernel_permission_file = os.path.join(out_path, info.get("kernel_permission_path")) 118 target_source = os.path.join(out_path, module_pat [all...] |
H A D | fs_process.py | 38 r'${out_path}': self.config.out_path 79 src_path = self.config.out_path 90 fs_path = os.path.join(self.config.out_path, 105 self.config.out_path) 246 r'${out_path}': args.out_path,
|
/build/hb/util/post_build/ |
H A D | part_rom_statistics.py | 92 def colletct_modules_json_path(out_path, install_parts):
95 part_info_path = os.path.join(out_path, part_info_dict["part_info_file"])
108 def sum_of_statistics(out_path, part_name, module_info_list):
113 module_info_path = os.path.join(out_path, module_info['module_info_path'])
117 so_file_dir = os.path.join(out_path, file_json["source"])
131 def check_image_size(out_path):
133 image_path = os.path.join(out_path, 'packages/phone/images/')
145 def actual_rom_statistics(out_path):
147 install_parts = collect_part_name(out_path)
148 module_info_list = colletct_modules_json_path(out_path, install_part [all...] |
/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 74 out_path = file_json.get('out_path') 75 return out_path 89 out_path = read_ohos_config(root_path) 90 ninja_file_list = collect_ninja_file_path(os.path.join(out_path, 'obj'))
|
/build/tools/component_tools/static_check/ |
H A D | csct.py | 153 out_path = os.path.join(os.getcwd(), "out") 160 os.open(os.path.join(out_path, "gn_problems.txt"), flags, modes), "w" 165 output_path = os.path.join(out_path, "output_errors.xlsx")
|
/build/tools/component_tools/static_check/bundle_check/ |
H A D | get_subsystem_with_component.py | 153 oh_path, out_path = parse_args() 155 export_to_json(info, out_path)
|
H A D | bundle_json_check.py | 106 out_path = os.path.normpath(output_path) + '/' + output_name 110 with os.fdopen(os.open(out_path, flags, modes), 'w') as file: 112 print("Please check " + out_path)
|
/build/hb/util/ |
H A D | component_util.py | 83 def get_component_module_full_name(out_path: str, component_name: str, module_name: str) -> str: 84 root_path = os.path.join(out_path, "build_configs") 110 module_name, component_name, out_path), "4001")
|
H A D | monitor.py | 141 while not os.path.exists(ROOT_CONFIG_FILE) or not config_content.get('out_path', None) and count <= 60:
144 return config_content.get('out_path', None)
168 out_path = self.get_log_path()
169 self.log_path = os.path.join(out_path, "build.log")
|
/build/hb/resources/ |
H A D | config.py | 224 def out_path(self): member in Config 227 @out_path.setter 228 def out_path(self, value: str): member in Config 230 self.config_update('out_path', self._out_path) 290 if self.out_path is not None: 291 return os.path.join(self.out_path, 'build.log') 390 self.out_path = config_content.get('out_path', None)
|
/build/hb/services/ |
H A D | ninja.py | 45 '-C', self.config.out_path] + self._convert_args()
|
H A D | gn.py | 100 self.config.out_path] + self._convert_flags()
|
H A D | loader.py | 64 self.gn_root_out_dir = self.config.out_path if not self.config.out_path.startswith( 65 '/') else os.path.relpath(self.config.out_path, self.config.root_path)
|
/build/templates/common/ |
H A D | generate_component_package.py | 29 parser.add_argument("-op", "--out_path", default=r"./", type=str, 92 def _get_components_json(out_path): 94 json_path = os.path.join(out_path + "/build_configs/parts_info/components.json") 121 json_path = os.path.join(args.get("out_path"), 152 real_static_lib_path = os.path.join(args.get("out_path"), "obj", 189 includes_out_dir = os.path.join(args.get("out_path"), "component_package", 192 toolchain_includes_out_dir = os.path.join(args.get("out_path"), "component_package", 194 toolchain_lib_out_dir = os.path.join(args.get("out_path"), "component_package", 236 lib_out_dir = os.path.join(args.get("out_path"), "component_package", 244 toolchain_path = os.path.join(args.get("out_path"), [all...] |
/build/scripts/ |
H A D | cargo2gn.py | 442 out_path = 'out' 444 out_path = os.path.join(self.cargo_dir, out_path) 446 os.makedirs(out_path, exist_ok=True)
|