mirror of
https://github.com/openharmony/build_lite.git
synced 2026-07-20 19:34:55 -04:00
@@ -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')
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user