Lines Matching defs:path
21 import os.path
48 files = glob.glob(os.path.join(component['scan_path'], '**', '*.c'), recursive=True)
49 files.extend(glob.glob(os.path.join(component['scan_path'], '**', '*.cpp'), recursive=True))
50 files.extend(glob.glob(os.path.join(component['scan_path'], '**', '*.cc'), recursive=True))
51 files.extend(glob.glob(os.path.join(component['scan_path'], '**', '*.h'), recursive=True))
75 if not os.path.exists(config):
78 if not os.path.exists(project_path):
81 if not os.path.exists(components_info):
102 if "path=" in line:
103 path = re.findall('path="(.*?)"', line)[0]
104 component = path.split('/')[-1]
105 path_info[component] = path
137 help="path of config_file", default="")
139 help="root path of openharmony. eg: -p ~/openharmony", default="./")
141 help="path of ohos.xml", default="")