Home
last modified time | relevance | path

Searched refs:dt_needed (Results 1 – 7 of 7) 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/elfcheck/elfcheck/
Dreadobj.py50 dt_needed = set()
54 dt_needed.add(match.group(1))
61 return is_32bit, dt_soname, dt_needed
Drewriter.py136 def _get_module_name_for_dt_needed(dt_needed): argument
138 return re.sub('\\.so$', '', dt_needed)
143 return set(self._get_module_name_for_dt_needed(dt_needed)
144 for dt_needed in dt_needed_entries)
165 is_32bit, dt_soname, dt_needed = readobj(prebuilt_file)
181 shared_libs = self._get_module_names_for_dt_needed_entries(dt_needed)