Home
last modified time | relevance | path

Searched refs:log_path (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/build/hb/util/
H A Dlog_util.py82 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 Dsystem_util.py35 … 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 Dbuild.py27 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 Dutils.py55 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 Dmylogger.py85 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 Dninja.py46 LogUtil.write_log(self.config.log_path,
63 self.config.log_path,
71 self.config.log_path,
H A Dgn.py103 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 Dloader.py817 LogUtil.write_log(self.config.log_path,
/ohos5.0/build/hb/resolver/
H A Dbuild_args_resolver.py232 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 Dfs_process.py184 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 Dasan.cfg7 "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 Dpatch_process.py89 SystemUtil.exec_command(cmd, log_path=self.config.log_path,
/ohos5.0/build/docs/
H A Dhow-to-add-a-build-parameter.md62 SystemUtil.exec_command(cmd, log_path=config.log_path)
/ohos5.0/build/common/ubsan/
H A Dubsan.cfg5 …"export UBSAN_OPTIONS log_path=/dev/ubsan/ubsan.log:print_stacktrace=1:print_module_map=2:log_exe_…
/ohos5.0/build/common/
H A DBUILD.gn48 # ubsan.cfg defines the log_path, different with asan.cfg
/ohos5.0/build/
H A Dprebuilts_download.py413 log_path = error_info.split()[-1]
414 cmd = ['cat', log_path]
/ohos5.0/build/hb/resources/
H A Dconfig.py289 def log_path(self): member in Config