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.py27 def add_lib(self, partition, klass, name, dt_needed=[], argument
39 elf = ELF(klass, ELF.ELFDATA2LSB, dt_needed=dt_needed,
47 def add_lib32(self, partition, name, dt_needed=[], argument
50 return self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
53 def add_lib64(self, partition, name, dt_needed=[], argument
56 return self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
59 def add_multilib(self, partition, name, dt_needed=[], argument
64 self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
66 self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
Dtest_vndk.py23 libfwk = gb.add_lib32(PT_SYSTEM, 'libfwk', dt_needed=['libvnd.so'])
59 libfwk = gb.add_lib32(PT_SYSTEM, 'libfwk', dt_needed=['libsphal.so'])
81 dt_needed=['libvndk.so', 'libutils.so'])
99 dt_needed=['libvnd_bad.so'], extra_dir='vndk')
101 dt_needed=['libvnd_bad.so'],
104 dt_needed=['libvndk.so', 'libutils.so'])
123 dt_needed=['libEGL_dep.so'])
127 dt_needed=['libEGL.so'])
Dtest_elf_linker.py29 gb.add_multilib(PT_SYSTEM, 'libc', dt_needed=['libdl.so', 'libm.so'],
33 gb.add_multilib(PT_SYSTEM, 'libRS', dt_needed=['libdl.so'],
38 dt_needed=['libc.so', 'libdl.so'],
43 dt_needed=['libc.so', 'libcutils.so', 'libdl.so'],
167 gb.add_lib(PT_SYSTEM, ELF.ELFCLASS64, 'libfoo', dt_needed=[],
287 dt_needed=['libc.so', 'libutils.so'])
291 dt_needed=['libc.so', 'libcutils.so'])
297 gb.add_multilib(PT_SYSTEM, 'libcutils_dep', dt_needed=['libc.so'])
299 dt_needed=['libc.so', 'libcutils_dep.so',
305 dt_needed=['libhidlbase.so', 'libsp_both_vs.so'])
[all …]
Dtest_command_deps_insight.py58 dt_needed=['libvnd_bad.so'], extra_dir='vndk')
60 dt_needed=['libvnd_bad.so'],
63 dt_needed=['libvndk.so', 'libutils.so'])
Dtest_elf.py67 dt_needed=['c', 'd'], exported_symbols={'e', 'f', 'g'})
164 self.assertEqual(['libc.so', 'libm.so'], res.dt_needed)
184 elf = ELF(dt_needed=['libnativehelper.so'])
187 elf = ELF(dt_needed=['libandroid_runtime.so'])
190 elf = ELF(dt_needed=['libc.so'])
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py413 dt_rpath=None, dt_runpath=None, dt_needed=None, argument
422 self.dt_needed = dt_needed if dt_needed is not None else []
484 for dt_needed in self.dt_needed:
485 print('DT_NEEDED\t' + dt_needed, file=file)
657 self.dt_needed.append(extract_str(dynstr_off + ent.d_val))
734 self.dt_needed.append(intern(value))
784 if name in self.dt_needed:
1937 for dt_needed in lib.elf.dt_needed:
1938 dep = resolver.resolve(dt_needed, lib.elf.dt_rpath,
1942 dt_needed, lib.elf.dt_rpath, lib.elf.dt_runpath))
[all …]