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.py430 self.graph = MockELFGraph()
432 self.lib_ll_ndk = self.graph.add('/system/lib/lib_ll_ndk.so')
434 self.graph.add('/system/lib/lib_ll_ndk_private.so')
436 self.lib_vndk_sp = self.graph.add('/system/lib/lib_vndk_sp.so')
438 self.graph.add('/system/lib/lib_vndk_sp_private.so')
440 self.lib_vndk = self.graph.add('/system/lib/lib_vndk.so')
443 self.graph.add('/system/lib/lib_system_only.so')
445 self.graph.add('/system/lib/lib_system_only_rs.so')
447 self.lib_sp_hal = self.graph.add('/vendor/lib/lib_sp_hal.so')
448 self.lib_sp_hal_dep = self.graph.add('/vendor/lib/lib_sp_hal_dep.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.py1487 def create_from_graph(graph, tagged_paths, generic_refs=None): argument
1490 for lib in graph.lib_pt[PT_SYSTEM].values():
1493 sp_lib = graph.compute_sp_lib(generic_refs)
1494 for lib in graph.lib_pt[PT_VENDOR].values():
1502 for lib in graph.lib_pt[PT_PRODUCT].values():
1505 for lib in graph.lib_pt[PT_SYSTEM_EXT].values():
3068 graph = ELFLinker(tagged_paths, vndk_lib_dirs, ro_vndk_version)
3072 graph.add_executables_in_dir(
3079 graph.add_executables_in_dir(
3086 graph.add_executables_in_dir(
[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: