Home
last modified time | relevance | path

Searched refs:ohos_root (Results 1 - 3 of 3) sorted by relevance

/build/tools/component_tools/static_check/gn_check/
H A Dcheck_gn.py41 def __init__(self, ohos_root: str, black_dir: tuple = tuple(), check_path='') -> None:
45 ohos_root (str): ohos源码的路径,可以是绝对路径,也可以是相对路径
49 self.ohos_root = ohos_root
54 self.abs_check_path = self.ohos_root
56 self.abs_check_path = os.path.join(self.ohos_root, check_path)
59 self.subsystem_info = get_subsystem_components_modified(ohos_root)
87 all_gn_data.update({gn_file[len(self.ohos_root) + 1:]: target})
106 path = abs_info[0][len(self.ohos_root) + 1:]
168 file_name = info[0][len(self.ohos_root)
[all...]
/build/tools/component_tools/static_check/
H A Dcsct.py33 ohos_root = "" variable in CsctGlobal
45 self.ohos_root = os.path.normpath(root)
62 self.ohos_root, '.repo/manifests/ohos/ohos.xml'))
145 gn_errs = CheckGn(self.ohos_root, black_dir=self.whitelist,
/build/tools/component_tools/static_check/bundle_check/
H A Dget_subsystem_with_component.py71 def get_subsystem_components_modified(ohos_root: str) -> dict:
74 subsystem_info = get_subsystem_components(ohos_root)

Completed in 2 milliseconds