Lines Matching refs:dep
2097 def get_dep_linked_symbols(self, dep): argument
2100 if exp_lib == dep:
2356 dep = resolver.resolve(lib.path, dt_needed, lib.elf.dt_rpath,
2358 if not dep:
2366 lib.add_needed_dep(dep)
2367 imported_libs.append(dep)
2541 if all(is_system_lib_or_sp_hal(dep) for dep in lib.deps_all):
2546 for dep in list(lib.deps_needed_all):
2547 if not is_system_lib_or_sp_hal(dep):
2550 'not exist.'.format(lib.path, dep.path),
2552 lib.hide_needed_dep(dep)
2553 for dep in list(lib.deps_dlopen_all):
2554 if not is_system_lib_or_sp_hal(dep):
2557 'not exist.'.format(lib.path, dep.path),
2559 lib.hide_dlopen_dep(dep)
2644 for dep in lib.deps_all:
2645 if is_not_vndk_sp(dep):
2647 if dep in predefined_vndk_sp:
2648 vndk_sp.add(dep)
2652 'library {}.'.format(lib.path, dep.path),
2655 vndk_sp.add(dep)
2725 for dep in lib.imported_ext_symbols:
2726 if dep in vndk_sp and dep not in vndk_sp_ext:
2727 result.add(dep)
2741 for dep in lib.deps_all:
2742 if not is_vndk_sp_public(dep):
2744 if dep in vndk_sp_ext or dep in vndk_sp_indirect_ext:
2748 if dep in exts:
2749 result.add(dep)
2753 if dep not in predefined_vndk_sp and \
2754 dep not in predefined_vndk_sp_indirect:
2755 result.add(dep)
2774 def is_eligible_lib_access(lib, dep): argument
2776 tagged_paths.is_path_visible(lib.path, dep.path)
2785 for dep in lib.deps_all:
2786 if is_vndk_sp_unused(dep):
2787 relabel_vndk_sp_as_used(dep)
2789 if is_not_vndk(dep):
2791 if not is_aosp_lib(dep):
2794 if dep not in extra_vendor_libs:
2795 next_vendor_libs.add(dep)
2796 extra_vendor_libs.add(dep)
2798 if is_eligible_lib_access(lib, dep):
2799 vndk.add(dep)
2804 .format(lib.path, dep.path), file=sys.stderr)
2806 vndk.add(dep)
2829 for dep in lib.imported_ext_symbols:
2830 if dep in vndk and dep not in vndk_ext:
2831 result.add(dep)
3624 for dep in lib.deps_all:
3625 if dep not in visited:
3626 next_queue.append(dep)
3627 visited.add(dep)
3924 for dep in sorted(bad_deps):
3925 print('\t' + dep.path)
3926 for module_path in module_info.get_module_path(dep.path):
3928 for symbol in lib.get_dep_linked_symbols(dep):
3987 for dep, symbols in lib.imported_ext_symbols.items():
3988 if dep.is_ll_ndk:
3990 bad_deps.add(dep)
3994 .format(lib.path, symbol, dep.path),
3998 for dep in lib.deps_all:
3999 if dep not in vendor_libs and dep not in eligible_libs:
4001 bad_deps.add(dep)
4003 dep_name = os.path.splitext(os.path.basename(dep.path))[0]
4007 'lib "{}".'.format(lib.path, dep.path),
4013 .format(lib.path, dep.path),
4018 .format(lib.path, dep.path),
4023 '/vendor/lib[64].'.format(lib.path, dep.path),
4194 for dep in lib.deps_all:
4195 dep_tag = self._get_lib_tag(hierarchy, tagged_paths, dep)
4197 lib_item['depends'].append(dep.path)
4200 dep.path, lib.get_dep_linked_symbols(dep)])