Lines Matching refs:os
18 import os
48 build_configs_path = os.path.join(
50 if os.path.exists(build_configs_path):
51 for root, dirs, files in os.walk(build_configs_path, topdown=True, followlinks=False):
70 return data['component']['name'], os.path.dirname(bundle_path)
77 default_deps_path = os.path.join(
84 root_path = os.path.join(out_path, "build_configs")
87 for file in os.listdir(root_path):
90 file_path = os.path.join(root_path, file)
91 if not os.path.isdir(file_path):
93 for component in os.listdir(file_path):
94 if os.path.isdir(os.path.join(file_path, component)) and component == component_name:
96 os.path.join(file_path, component, "BUILD.gn"))
121 bundle_json = os.path.join(
123 if os.path.exists(bundle_json):
125 cur_dir = os.path.dirname(cur_dir)
131 for root, dirnames, filenames in os.walk(path):
132 if root == os.path.join(path, "out") or root == os.path.join(path, ".repo"):
136 bundle_json = os.path.join(root, filename)
145 bundles_path[data["component"]["name"]] = os.path.dirname(bundle_json)
151 default_deps_out_file = os.path.join(root_path, "out", "preloader", "default_deps.json")
152 default_deps_file = os.path.join(root_path, "build", "indep_configs", "variants", "common", 'default_deps.json')
156 part_white_list_path = os.path.join(root_path, "build", "indep_configs", "config",
163 preloader_path = os.path.join(root_path, "out", "preloader")
164 os.makedirs(preloader_path, exist_ok=True)