Lines Matching refs:os
22 import os
42 branch=branch_name, dir=os.getcwd()))
50 if os.path.isfile(file):
51 os.unlink(file)
52 elif os.path.isdir(file):
77 os.chdir(temp_artifact_dir)
88 os.chdir(install_dir)
93 artifacts = glob.glob(os.path.join(artifact_dir, artifact_pattern))
105 os.makedirs(common_notices_dir)
107 notices_dir_per_arch = os.path.join(arch, utils.NOTICE_FILES_DIR_NAME)
108 if os.path.isdir(notices_dir_per_arch):
111 if not os.path.isfile(
112 os.path.join(common_notices_dir,
113 os.path.basename(notice_file))):
129 os.path.join(utils.CONFIG_DIR_PATH_PATTERN, file_name))
131 name, ext = os.path.splitext(target_file)
132 os.rename(target_file, name + '.' + str(vndk_version) + ext)
136 path = os.path.join(dir, file_name)
137 if os.path.isfile(path):
219 local = os.path.expanduser(args.local)
226 elif not os.path.isdir(local):
238 install_dir = os.path.join(PREBUILTS_VNDK_DIR, 'v{}'.format(vndk_version))
239 if not os.path.isdir(install_dir):
247 os.chdir(install_dir)
253 os.makedirs(utils.COMMON_DIR_PATH)