Lines Matching refs:arch
98 def get_target_binary_path(arch, binary_name): argument
99 if arch == 'aarch64':
100 arch = 'arm64'
101 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
170 def _get_binutils_path_in_ndk(toolname, arch, platform): argument
171 if not arch:
172 arch = 'arm64'
173 if arch == 'arm64':
175 elif arch == 'arm':
177 elif arch == 'x86_64':
179 elif arch == 'x86':
182 log_fatal('unexpected arch %s' % arch)
186 def find_tool_path(toolname, ndk_path=None, arch=None): argument
194 toolname_with_arch, path_in_ndk = _get_binutils_path_in_ndk(toolname, arch, platform)
485 arch = self.readelf.get_arch(real_path)
486 if arch == 'arm64':
488 if arch == 'arm':
690 arch = self.readelf.get_arch(real_path)
691 if arch == 'unknown':
693 return (real_path, arch)
699 real_path, arch = dso_info
700 objdump_path = self.objdump_paths.get(arch)
702 objdump_path = find_tool_path('objdump', self.ndk_path, arch)
705 self.objdump_paths[arch] = objdump_path