Lines Matching refs:path
50 if os.path.isfile(file):
52 elif os.path.isdir(file):
93 artifacts = glob.glob(os.path.join(artifact_dir, artifact_pattern))
114 notices_dir_per_arch = os.path.join(arch, utils.NOTICE_FILES_DIR_NAME)
115 if os.path.isdir(notices_dir_per_arch):
118 if os.path.isfile(notice_file):
119 rel_path = os.path.relpath(notice_file, notices_dir_per_arch)
120 target_path = os.path.join(common_notices_dir, rel_path)
121 if not os.path.isfile(target_path):
122 os.makedirs(os.path.dirname(target_path), exist_ok=True)
138 os.path.join(utils.CONFIG_DIR_PATH_PATTERN, file_name))
140 name, ext = os.path.splitext(target_file)
145 path = os.path.join(dir, file_name)
146 if os.path.isfile(path):
148 logging.info('Creating empty file: {}'.format(path))
149 open(path, 'a').close()
173 path = os.path.dirname(__file__)
174 shutil.copy(os.path.join(root_dir, path, 'OWNERS'), install_dir)
213 local_path = os.path.abspath(os.path.expanduser(local))
220 elif not os.path.isdir(local_path):
230 install_dir = os.path.join(PREBUILTS_VNDK_DIR, 'v{}'.format(vndk_version))
231 if not os.path.isdir(install_dir):