Lines Matching refs:arch
87 def get_target_binary_path(arch, binary_name): argument
88 if arch == 'aarch64':
89 arch = 'arm64'
90 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
158 def _get_binutils_path_in_ndk(toolname, arch, platform): argument
159 if not arch:
160 arch = 'arm64'
161 if arch == 'arm64':
164 elif arch == 'arm':
167 elif arch == 'x86_64':
170 elif arch == 'x86':
174 log_fatal('unexpected arch %s' % arch)
177 def find_tool_path(toolname, ndk_path=None, arch=None): argument
185 toolname_with_arch, path_in_ndk = _get_binutils_path_in_ndk(toolname, arch, platform)
475 arch = self.readelf.get_arch(real_path)
476 if arch == 'arm64':
478 if arch == 'arm':
666 arch = self.readelf.get_arch(real_path)
667 if arch == 'unknown':
669 return (real_path, arch)
675 real_path, arch = dso_info
676 objdump_path = self.objdump_paths.get(arch)
678 objdump_path = find_tool_path('objdump', self.ndk_path, arch)
681 self.objdump_paths[arch] = objdump_path