!426 代码规范的相关整改

Merge pull request !426 from hongguo1/lite_1
This commit is contained in:
openharmony_ci
2022-04-08 03:42:07 +00:00
committed by Gitee
4 changed files with 7 additions and 7 deletions
@@ -20,9 +20,9 @@ from hb_internal.common.utils import read_json_file
def _read_lite_component_configs(file):
subsytem_name = os.path.basename(file)[:-5]
subsystem_name = os.path.basename(file)[:-5]
configs = {}
configs['subsystem_name'] = subsytem_name
configs['subsystem_name'] = subsystem_name
with open(file, 'rb') as fin:
data = json.load(fin)
components = data.get('components')
+3 -3
View File
@@ -71,7 +71,7 @@ def _output_gnargs_prop(all_features, output_file):
fobj.write('\n'.join(features_list))
def _get_org_subsytem_info(subsystem_config_file, os_level, config_dirs):
def _get_org_subsystem_info(subsystem_config_file, os_level, config_dirs):
subsystem_info = {}
if os_level == "standard":
subsystem_info = read_json_file(subsystem_config_file)
@@ -86,7 +86,7 @@ def _get_org_subsytem_info(subsystem_config_file, os_level, config_dirs):
def _merge_subsystem_config(product, device, config_dirs, os_level,
output_file):
subsystem_info = _get_org_subsytem_info(config_dirs.subsystem_config_json,
subsystem_info = _get_org_subsystem_info(config_dirs.subsystem_config_json,
os_level, config_dirs)
if subsystem_info:
subsystem_info.update(product.get_product_specific_subsystem())
@@ -332,7 +332,7 @@ class MyProduct():
def _parse_config_v2p(self, config, version):
self._sanitize(config)
# 1. inherit parts infomation from base config
# 1. inherit parts information from base config
if version == "2.0":
os_level = config.get("type", "standard")
else:
+1 -1
View File
@@ -47,7 +47,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "HarmonyOS"
PROJECT_NAME = "OpenHarmony"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
+1 -1
View File
@@ -47,7 +47,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "HarmonyOS"
PROJECT_NAME = "OpenHarmony"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version