Lines Matching full:toolchain
205 Toolchain Toolchain
413 toolchain() Toolchain
481 Toolchain
530 func (ctx *moduleContextImpl) toolchain() Toolchain {
531 return ctx.mod.toolchain(ctx.ctx)
593 Toolchain: c.toolchain(ctx),
654 func (c *Module) toolchain(ctx BaseModuleContext) Toolchain {
661 ctx.ModuleErrorf("Toolchain not found for %s %s arch %q", hod.String(), ht.String(), arch.String())
751 if !c.toolchain(ctx).ClangSupported() {
900 toolchain := ctx.toolchain()
926 toolchain.IncludeFlags(),
941 instructionSetFlags, err := toolchain.InstructionSetFlags(instructionSet)
943 instructionSetFlags, err = toolchain.ClangInstructionSetFlags(instructionSet)
960 target := "-target " + toolchain.ClangTriple()
961 gccPrefix := "-B" + filepath.Join(toolchain.GccRoot(), toolchain.GccTriple(), "bin")
972 flags.AsFlags = append(flags.AsFlags, toolchain.ClangAsflags())
975 toolchain.ClangCflags(),
983 toolchain.Cflags(),
1003 flags.CppFlags = append(flags.CppFlags, toolchain.ClangCppflags())
1005 flags.CppFlags = append(flags.CppFlags, toolchain.Cppflags())
1010 flags.GlobalFlags = append(flags.GlobalFlags, toolchain.ToolchainClangCflags())
1012 flags.GlobalFlags = append(flags.GlobalFlags, toolchain.ToolchainCflags())
1014 flags.LdFlags = append(flags.LdFlags, toolchain.ToolchainLdflags())
1133 toolchain := ctx.toolchain()
1143 flags.LdFlags = append(flags.LdFlags, toolchain.ClangLdflags())
1145 flags.LdFlags = append(flags.LdFlags, toolchain.Ldflags())
1154 flags.LdFlags = append(flags.LdFlags, toolchain.ToolchainLdflags())
1209 if ctx.toolchain().Is64Bit() && installer.dir64 != "" {
1335 "-install_name @rpath/"+libName+flags.Toolchain.ShlibSuffix(),
1340 "-Wl,-soname,"+libName+flags.Toolchain.ShlibSuffix(),
1400 outputFile := common.PathForModuleOut(ctx, ctx.ModuleName()+flags.Toolchain.ShlibSuffix())
1699 if flags.Toolchain.Is64Bit() {
1722 outputFile := common.PathForModuleOut(ctx, binary.getStem(ctx)+flags.Toolchain.ExecutableSuffix())
1978 // toolchain libraries can't have any dependencies
2021 func getNdkLibDir(ctx common.AndroidModuleContext, toolchain Toolchain, version string) common.SourcePath {
2023 version, toolchain.Name()))
2026 func ndkPrebuiltModuleToPath(ctx common.AndroidModuleContext, toolchain Toolchain,
2032 dir := getNdkLibDir(ctx, toolchain, version)
2058 return ndkPrebuiltModuleToPath(ctx, flags.Toolchain, objectExtension, ctx.sdkVersion())
2098 return ndkPrebuiltModuleToPath(ctx, flags.Toolchain, flags.Toolchain.ShlibSuffix(),
2126 func getNdkStlLibDir(ctx common.AndroidModuleContext, toolchain Toolchain, stl string) common.SourcePath {
2127 gccVersion := toolchain.GccVersion()
2158 libExt := flags.Toolchain.ShlibSuffix()
2165 libDir := getNdkStlLibDir(ctx, flags.Toolchain, stlName)