Lines Matching refs:arch
124 arch := t.LibclangRuntimeLibraryArch()
125 if arch == "" {
129 return "libclang_rt." + library + "-" + arch
131 return "libclang_rt." + library + "-" + arch + "-android"
135 arch := t.LibclangRuntimeLibraryArch()
136 if arch == "" {
140 return "librustc_rt." + library + "-" + arch
142 return "librustc_rt." + library + "-" + arch + "-android"
149 type toolchainFactory func(arch android.Arch) Toolchain
153 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) {
157 toolchainFactories[os][arch] = factory
160 func FindToolchain(os android.OsType, arch android.Arch) Toolchain {
161 factory := toolchainFactories[os][arch.ArchType]
165 return factory(arch)