Lines Matching refs:file
7 # you may not use this file except in compliance with the License.
188 specified or the file content pointed to by the parameters does not
201 raise OHOSException("Cannot get the content from platform config file, \
202 please check whether the corresponding file('out/preloader/{}/subsystem_config.json' or \
211 # check platform config file
213 raise OHOSException("Cannot get the content from platform config file, \
214 please check whether the corresponding file('out/preloader/${product_name}/platforms.build') \
217 # check example subsystem file
219 raise OHOSException("Cannot get the content from example subsystem file, please check whether \
220 the corresponding file ('build/subsystem_config_example.json') exists.", "2005")
249 "in this part bundle.json file, part_name='{}'".format(vals, key)
370 "generate syscap info file to '{}'".format(syscap_info_json), mode=self.config.log_mode)
383 with open(target_syscap_for_init_file, "w") as file:
384 file.writelines(sorted(target_syscap_for_init_list))
402 '''Description: output infos for testfwk into a json file. \
425 '''Description: output all target platform parts into a json file \
456 '''Description: output platforms list into a gni file. \
475 '''Description: output auto install part into a json file. \
494 '''Description: output src flag into a json file. \
510 '''Description: output build target list into a json file.\
521 LogUtil.hb_info("generate build targets list file to '{}'".format(
524 '''Description: output build target info into a json file. \
537 '''Description: output platforms part by src into a json file. \
568 '''Description: output phony targets build file. \
591 '''Description: output system capabilities into a json file. \
787 # If the file does not exist, do nothing and return
791 raise Exception("read file '{}' failed.".format(
842 LogUtil.hb_info('Loading configuration file...')
868 replace the component configuration file bundle.json in subsystem_info and update
982 '''Description: Update the parts list file generated by preloader