Home
last modified time | relevance | path

Searched refs:dt_needed (Results 1 – 6 of 6) sorted by relevance

/development/vndk/tools/definition-tool/tests/
Dutils.py25 def add_lib(self, partition, klass, name, dt_needed=tuple(), argument
37 elf = ELF(klass, ELF.ELFDATA2LSB, dt_needed=dt_needed,
46 def add_lib32(self, partition, name, dt_needed=tuple(), argument
49 return self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
53 def add_lib64(self, partition, name, dt_needed=tuple(), argument
56 return self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
60 def add_multilib(self, partition, name, dt_needed=tuple(), argument
65 self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
67 self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
Dtest_vndk.py18 libfwk = gb.add_lib32(PT_SYSTEM, 'libfwk', dt_needed=['libvnd.so'])
54 libfwk = gb.add_lib32(PT_SYSTEM, 'libfwk', dt_needed=['libsphal.so'])
76 dt_needed=['libvndk.so', 'libutils.so'])
94 PT_SYSTEM, 'libvndk', dt_needed=['libvnd_bad.so'],
98 PT_SYSTEM, 'libutils', dt_needed=['libvnd_bad.so'],
120 dt_needed=['libEGL_dep.so'])
124 dt_needed=['libEGL.so'])
Dtest_elf_linker.py22 gb.add_multilib(PT_SYSTEM, 'libc', dt_needed=['libdl.so', 'libm.so'],
26 gb.add_multilib(PT_SYSTEM, 'libRS', dt_needed=['libdl.so'],
31 dt_needed=['libc.so', 'libdl.so'],
36 dt_needed=['libc.so', 'libcutils.so', 'libdl.so'],
159 gb.add_lib(PT_SYSTEM, ELF.ELFCLASS64, 'libfoo', dt_needed=[],
279 dt_needed=['libc.so', 'libutils.so'])
283 dt_needed=['libc.so', 'libcutils.so'])
289 gb.add_multilib(PT_SYSTEM, 'libcutils_dep', dt_needed=['libc.so'])
291 dt_needed=['libc.so', 'libcutils_dep.so',
297 dt_needed=['libhidlbase.so', 'libsp_both_vs.so'])
[all …]
Dtest_elf.py72 dt_needed=['c', 'd'], exported_symbols={'e', 'f', 'g'})
175 self.assertEqual(['libc.so', 'libm.so'], res.dt_needed)
195 elf = ELF(dt_needed=['libnativehelper.so'])
198 elf = ELF(dt_needed=['libandroid_runtime.so'])
201 elf = ELF(dt_needed=['libc.so'])
Dtest_command_deps_insight.py57 PT_SYSTEM, 'libsystem2', dt_needed=['libsystem.so'])
60 PT_SYSTEM, 'libvndk', dt_needed=['libvendor_bad.so'],
64 PT_VENDOR, 'libvendor', dt_needed=['libvndk.so'])
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py525 dt_rpath=None, dt_runpath=None, dt_needed=None, argument
534 self.dt_needed = dt_needed if dt_needed is not None else []
606 for dt_needed in self.dt_needed:
607 print('DT_NEEDED\t' + dt_needed, file=file)
784 self.dt_needed.append(extract_str(dynstr_off + ent.d_val))
864 self.dt_needed.append(intern(value))
921 if name in self.dt_needed:
2355 for dt_needed in lib.elf.dt_needed:
2356 dep = resolver.resolve(lib.path, dt_needed, lib.elf.dt_rpath,
2360 lib.path, dt_needed, lib.elf.dt_rpath, lib.elf.dt_runpath))
[all …]