Lines Matching refs:os

22 import os
103 self._root_bpfile = os.path.join(install_dir, utils.ROOT_BP_PATH)
104 self._common_bpfile = os.path.join(install_dir, utils.COMMON_BP_PATH)
106 os.path.basename(self._etc_paths['llndk.libraries.txt']))
108 os.path.basename(self._etc_paths['vndkcore.libraries.txt']))
110 os.path.basename(self._etc_paths['vndksp.libraries.txt']))
112 os.path.basename(self._etc_paths['vndkprivate.libraries.txt']))
114 os.path.basename(self._etc_paths['vndkproduct.libraries.txt']))
122 etc_pattern = '{}*'.format(os.path.splitext(etc_module)[0])
124 os.path.join(self._install_dir, utils.CONFIG_DIR_PATH_PATTERN,
143 abs_path_of_txt = os.path.join(self._install_dir, txt_path)
153 os.path.join(self._install_dir, utils.NOTICE_FILES_DIR_PATH,
155 return sorted(os.path.splitext(os.path.basename(p))[0] for p in notice_paths)
212 src_root = os.path.join(self._install_dir, arch)
213 module_names_txt = os.path.join(
230 variant_subpath = os.path.join(arch, utils.BINDER32)
231 variant_path = os.path.join(self._install_dir, variant_subpath)
232 bpfile_path = os.path.join(variant_path, 'Android.bp')
268 variant_include_path = os.path.join(variant_path, 'include')
269 include_path = os.path.join(self._install_dir, arch, 'include')
270 if os.path.isdir(include_path) and variant_include_path != include_path:
271 os.symlink(os.path.relpath(include_path, variant_path),
277 if os.path.isdir(
278 os.path.join(self._install_dir, arch, utils.BINDER32)):
311 name, ext = os.path.splitext(prebuilt)
318 name = os.path.splitext(prebuilt)[0]
390 dirs = src.split(os.path.sep)
533 prop_path = os.path.join(src_root, src+'.json')
538 os.unlink(prop_path)
566 os.path.join(arch, src)),
575 src_root = os.path.join(self._install_dir, arch)
577 src_root = os.path.join(src_root, utils.BINDER32)
591 name = os.path.splitext(prebuilt)[0]
678 install_dir = os.path.join(PREBUILTS_VNDK_DIR, 'v{}'.format(vndk_version))
679 if not os.path.isdir(install_dir):