Lines Matching refs:lib_dir
1756 def create_vndk_search_paths(cls, lib_dir, version): argument
1761 [posixpath.join('/vendor', lib_dir, vndk_sp_name),
1762 posixpath.join('/system', lib_dir, vndk_sp_name)],
1763 [posixpath.join('/vendor', lib_dir, vndk_name),
1764 posixpath.join('/system', lib_dir, vndk_name)])
1791 for lib_dir in ('lib', 'lib64'):
1792 lib_dir_path = os.path.join(base_dir, lib_dir)
2229 lib_dir = 'lib' if elf_class == ELF.ELFCLASS32 else 'lib64'
2230 path = path.replace('${LIB}', lib_dir)
2392 def _get_apex_bionic_search_paths(self, lib_dir): argument
2393 return ['/apex/com.android.runtime/' + lib_dir + '/bionic']
2396 def _get_apex_search_paths(self, lib_dir): argument
2397 return ['/apex/' + name + '/' + lib_dir
2401 def _get_system_search_paths(self, lib_dir): argument
2402 apex_lib_dirs = (self._get_apex_search_paths(lib_dir) +
2403 self._get_apex_bionic_search_paths(lib_dir))
2404 system_lib_dirs = ['/system/' + lib_dir, '/system/product/' + lib_dir]
2405 vendor_lib_dirs = ['/vendor/' + lib_dir]
2409 def _get_vendor_search_paths(self, lib_dir, vndk_sp_dirs, vndk_dirs): argument
2411 '/vendor/' + lib_dir + '/hw',
2412 '/vendor/' + lib_dir + '/egl',
2413 '/vendor/' + lib_dir,
2416 apex_lib_dirs = (self._get_apex_search_paths(lib_dir) +
2417 self._get_apex_bionic_search_paths(lib_dir))
2418 system_lib_dirs = ['/system/' + lib_dir]
2423 def _get_vndk_sp_search_paths(self, lib_dir, vndk_sp_dirs): argument
2426 '/vendor/' + lib_dir,
2427 '/system/' + lib_dir,
2429 fallback_lib_dirs += self._get_apex_search_paths(lib_dir)
2430 fallback_lib_dirs += self._get_apex_bionic_search_paths(lib_dir)
2434 def _get_vndk_search_paths(self, lib_dir, vndk_sp_dirs, vndk_dirs): argument
2436 fallback_lib_dirs = ['/system/' + lib_dir]
2437 fallback_lib_dirs += self._get_apex_search_paths(lib_dir)
2438 fallback_lib_dirs += self._get_apex_bionic_search_paths(lib_dir)
2442 def _resolve_elf_class_deps(self, lib_dir, elf_class, generic_refs): argument
2456 search_paths = self._get_system_search_paths(lib_dir)
2463 vndk_lib_dirs.create_vndk_search_paths(lib_dir, version)
2467 lib_dir, vndk_sp_dirs)
2474 vndk_lib_dirs.create_vndk_search_paths(lib_dir, version)
2477 lib_dir, vndk_sp_dirs, vndk_dirs)
2483 lib_dir, self.ro_vndk_version)
2485 lib_dir, vndk_sp_dirs, vndk_dirs)