/ohos5.0/build/hb/util/ |
H A D | log_util.py | 82 def write_log(log_path, msg, level): argument 83 os.makedirs(os.path.dirname(log_path), exist_ok=True) 120 def get_gn_failed_log(log_path): argument 139 error_log, log_path), return_status_code) 142 def get_ninja_failed_log(log_path): argument 159 error_log, log_path), return_status_code) 162 def get_compiler_failed_log(log_path): argument 185 def get_failed_log(log_path): argument 191 LogUtil.get_gn_failed_log(log_path) 192 LogUtil.get_ninja_failed_log(log_path) [all …]
|
H A D | system_util.py | 35 … def exec_command(cmd: list, log_path='out/build.log', exec_env=None, log_mode='normal', **kwargs): argument 42 if not os.path.exists(os.path.dirname(log_path)): 43 os.makedirs(os.path.dirname(log_path), exist_ok=True) 53 with open(log_path, 'at', encoding='utf-8') as log_file: 75 LogUtil.get_failed_log(log_path)
|
/ohos5.0/build/lite/ndk/build/ |
H A D | build.py | 27 def exec_command(cmd, log_path='out/build.log', **kwargs): argument 45 log_path = os.path.join(product_path, 'compile.log') 68 exec_command(gn_cmd, log_path) 71 exec_command(ninja_cmd, log_path) 86 exec_command(clean_cmd, log_path)
|
/ohos5.0/build/lite/ |
H A D | utils.py | 55 def exec_command(cmd: str, log_path: str = 'out/build.log', **kwargs): 56 with open(log_path, 'at', encoding='utf-8') as log_file: 70 with open(log_path, 'at', encoding='utf-8') as log_file: 74 print('you can check build log in {}'.format(log_path))
|
/ohos5.0/build/test/example/ |
H A D | mylogger.py | 85 log_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "log") 86 if not os.path.exists(log_path): 87 os.makedirs(log_path) 88 tfr_handler = SafeFileHandler(os.path.join(log_path, class_name + ".log"))
|
/ohos5.0/build/hb/services/ |
H A D | ninja.py | 46 LogUtil.write_log(self.config.log_path, 63 self.config.log_path, 71 self.config.log_path,
|
H A D | gn.py | 103 LogUtil.write_log(self.config.log_path, 'Excuting gn command: {} {} --args="{}" {}'.format( 119 … SystemUtil.exec_command(gn_gen_cmd, self.config.log_path, log_mode=self.config.log_mode) 128 SystemUtil.exec_command(gn_gen_cmd, self.config.log_path)
|
H A D | loader.py | 817 LogUtil.write_log(self.config.log_path,
|
/ohos5.0/build/hb/resolver/ |
H A D | build_args_resolver.py | 232 LogUtil.write_log(Config().log_path, 'In the component "{}" directory,' 328 SystemUtil.exec_command(cmd, log_path=config.log_path) 733 SystemUtil.exec_command(cmd, log_path=config.out_path) 795 SystemUtil.exec_command(cmd, log_path=config.log_path) 814 SystemUtil.exec_command(cmd, log_path=config.log_path) 840 SystemUtil.exec_command(cmd, log_path=config.log_path) 874 SystemUtil.exec_command(cmd, log_path=config.log_path)
|
/ohos5.0/build/ohos/packages/ |
H A D | fs_process.py | 184 log_path = self.config.log_path 189 SystemUtil.exec_command(cmd, log_path=log_path) 247 r'${log_path}': args.log_path,
|
/ohos5.0/build/common/asan/ |
H A D | asan.cfg | 7 "export ASAN_OPTIONS log_path=/dev/asan/asan.log:include=/system/etc/asan.options", 8 … "export HWASAN_OPTIONS log_path=/dev/hwasan/hwasan.log:include=/system/etc/asan.options",
|
/ohos5.0/build/hb/util/prebuild/ |
H A D | patch_process.py | 89 SystemUtil.exec_command(cmd, log_path=self.config.log_path,
|
/ohos5.0/build/docs/ |
H A D | how-to-add-a-build-parameter.md | 62 SystemUtil.exec_command(cmd, log_path=config.log_path)
|
/ohos5.0/build/common/ubsan/ |
H A D | ubsan.cfg | 5 …"export UBSAN_OPTIONS log_path=/dev/ubsan/ubsan.log:print_stacktrace=1:print_module_map=2:log_exe_…
|
/ohos5.0/build/common/ |
H A D | BUILD.gn | 48 # ubsan.cfg defines the log_path, different with asan.cfg
|
/ohos5.0/build/ |
H A D | prebuilts_download.py | 413 log_path = error_info.split()[-1] 414 cmd = ['cat', log_path]
|
/ohos5.0/build/hb/resources/ |
H A D | config.py | 289 def log_path(self): member in Config
|