Home
last modified time | relevance | path

Searched refs:graph (Results 1 – 9 of 9) sorted by relevance

/development/vndk/tools/definition-tool/tests/
Dtest_elf_linker.py50 graph = gb.graph
52 node = graph.get_lib('/system/lib/libc.so')
56 node = graph.get_lib('/system/lib64/libdl.so')
60 node = graph.get_lib('/vendor/lib64/libEGL.so')
64 self.assertEqual(None, graph.get_lib('/no/such/path.so'))
69 graph = gb.graph
73 nodes = graph.get_libs(paths, bad.append)
81 nodes = graph.get_libs(paths, bad.append)
89 graph = gb.graph
90 self.assertEqual(5, len(graph.lib_pt[PT_SYSTEM].lib32))
[all …]
Dutils.py22 self.graph = ELFLinker()
41 lib = self.graph.add_lib(partition, path, elf)
74 self.graph.vndk_lib_dirs = vndk_lib_dirs
76 self.graph.ro_vndk_version = ro_vndk_version
77 self.graph.resolve_deps()
Dtest_tagged_dict.py388 self.graph = MockELFGraph()
390 self.lib_ll_ndk = self.graph.add('/system/lib/lib_ll_ndk.so')
392 self.graph.add('/system/lib/lib_ll_ndk_indirect.so')
394 self.lib_vndk_sp = self.graph.add('/system/lib/lib_vndk_sp.so')
396 self.graph.add('/system/lib/lib_vndk_sp_indirect.so')
398 self.graph.add('/system/lib/lib_vndk_sp_indirect_private.so')
400 self.lib_vndk = self.graph.add('/system/lib/lib_vndk.so')
402 self.lib_fwk_only = self.graph.add('/system/lib/lib_fwk_only.so')
403 self.lib_fwk_only_rs = self.graph.add('/system/lib/lib_fwk_only_rs.so')
405 self.lib_sp_hal = self.graph.add('/vendor/lib/lib_sp_hal.so')
[all …]
Dtest_vndk.py27 gb.graph.normalize_partition_tags(set(), None)
61 gb.graph.normalize_partition_tags({libsphal}, None)
82 vndk_sets = gb.graph.compute_degenerated_vndk(None)
109 vndk_sets = gb.graph.compute_degenerated_vndk(None)
129 vndk_sets = gb.graph.compute_degenerated_vndk(None)
Dtest_command_deps_insight.py72 vndk_sets = gb.graph.compute_degenerated_vndk(set(), None)
77 list(gb.graph.all_libs()), vndk_sets, ModuleInfo())
/development/vndk/tools/sourcedr/ninja/
Dlist_ninja_build_dep.py36 def collect_build_targets(graph, target): argument
40 build = graph[target]
51 dep = graph.get(dep)
67 graph = {}
70 graph[path] = build
72 graph[path] = build
76 builds = collect_build_targets(graph, args.target)
Dlist_source_file.py40 def collect_source_files(graph, start, out_dir_pattern, out_host_dir_pattern): argument
59 build = graph.get(cur)
103 graph = {}
106 graph[path] = build
108 graph[path] = build
111 matched_files = [path for path in graph if installed_filter.match(path)]
116 graph, path, out_dir_pattern, out_host_dir_pattern)
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1431 def create_from_graph(graph, tagged_paths, generic_refs=None): argument
1434 for lib in graph.lib_pt[PT_SYSTEM].values():
1437 sp_lib = graph.compute_sp_lib(generic_refs)
1438 for lib in graph.lib_pt[PT_VENDOR].values():
2913 graph = ELFLinker(tagged_paths, vndk_lib_dirs, ro_vndk_version)
2917 graph.add_executables_in_dir(
2924 graph.add_executables_in_dir(
2931 graph.add_dlopen_deps(path)
2933 graph.rewrite_apex_modules()
2934 graph.resolve_deps(generic_refs)
[all …]
/development/vndk/tools/sourcedr/Documentation/
Dlist-installed-files-from-source-dirs.md36 files. It is desirable to keep the parsed dependency graph for further
37 investigation. You can create a parsed dependency graph with:
46 And then, load dependency graph with: