/build/soong/cc/ |
D | makevars.go | 192 toolchain := config.FindToolchain(target.Os, target.Arch) 206 includeFlags, err := ctx.Eval(toolchain.IncludeFlags()) 215 flags, err := toolchain.ClangInstructionSetFlags("arm") 221 flags, err = toolchain.ClangInstructionSetFlags("thumb") 229 clangExtras := "-B" + config.ToolPath(toolchain) 231 ctx.Strict(clangPrefix+"TRIPLE", toolchain.ClangTriple()) 233 toolchain.ClangCflags(), 236 toolchain.ToolchainClangCflags(), 243 toolchain.ClangCppflags(), 247 toolchain.ClangLdflags(), [all …]
|
D | ndk_prebuilt.go | 37 func getNdkLibDir(ctx android.ModuleContext, toolchain config.Toolchain, version string) android.So… 41 if toolchain.Is64Bit() && ctx.Arch().ArchType != android.Arm64 { 45 version, toolchain.Name(), suffix)) 48 func ndkPrebuiltModuleToPath(ctx android.ModuleContext, toolchain config.Toolchain, 54 dir := getNdkLibDir(ctx, toolchain, version)
|
D | stl.go | 178 if ctx.toolchain().Bionic() { 187 if ctx.toolchain().Bionic() && ctx.Module().Name() == "libc++" { 227 if !ctx.toolchain().Bionic() { 252 if !ctx.toolchain().Bionic() {
|
D | linker.go | 239 if ctx.toolchain().Is64Bit() { 341 if ctx.toolchain().Bionic() { 344 deps.LateStaticLibs = append(deps.LateStaticLibs, config.BuiltinsRuntimeLibrary(ctx.toolchain())) 430 toolchain := ctx.toolchain() 469 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ClangLldflags()) 471 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ClangLdflags()) 474 if !ctx.toolchain().Bionic() && !ctx.Fuchsia() { 497 if ctx.toolchain().LibclangRuntimeLibraryArch() != "" { 498 …nd(flags.Global.LdFlags, "-Wl,--exclude-libs="+config.BuiltinsRuntimeLibrary(ctx.toolchain())+".a") 525 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ToolchainClangLdflags())
|
D | sanitize.go | 467 if !ctx.toolchain().Is64Bit() { 543 minimalRuntimeLib := config.UndefinedBehaviorSanitizerMinimalRuntimeLibrary(ctx.toolchain()) + ".a" 545 builtinsRuntimeLib := config.BuiltinsRuntimeLibrary(ctx.toolchain()) + ".a" 672 if !ctx.toolchain().Bionic() { 681 if !ctx.toolchain().Bionic() { 1120 toolchain := c.toolchain(mctx) 1122 runtimeLibrary = config.AddressSanitizerRuntimeLibrary(toolchain) 1125 runtimeLibrary = config.HWAddressSanitizerStaticLibrary(toolchain) 1128 runtimeLibrary = config.HWAddressSanitizerRuntimeLibrary(toolchain) 1131 runtimeLibrary = config.ThreadSanitizerRuntimeLibrary(toolchain) [all …]
|
D | binary.go | 149 if ctx.toolchain().Bionic() { 223 if !ctx.toolchain().Bionic() { 269 if ctx.toolchain().Bionic() { 356 } else if ctx.toolchain().Bionic() && !binary.static() { 443 symlink+String(binary.Properties.Suffix)+ctx.toolchain().ExecutableSuffix())
|
D | installer.go | 66 if ctx.toolchain().Is64Bit() && installer.dir64 != "" {
|
D | builder.go | 375 toolchain config.Toolchain member 537 "windresCmd": gccCmd(flags.toolchain, "windres"), 538 "flags": flags.toolchain.WindresFlags(), 1072 func gccCmd(toolchain config.Toolchain, cmd string) string { 1073 return filepath.Join(toolchain.GccRoot(), "bin", toolchain.GccTriple()+"-"+cmd)
|
D | check.go | 107 allowedLdlibs := ctx.toolchain().AvailableLibraries()
|
/build/bazel/rules_cc/cc/ |
D | find_cc_toolchain.bzl | 20 C++ toolchain is selected using the legacy mechanism (`--crosstool_top`, 36 C++ toolchain is selected using the toolchain resolution mechanism 38 C++ toolchain type: 47 We advise to depend on both `_cc_toolchain` attr and on the toolchain type for 50 Bazel version is not needed), it's enough to only keep the toolchain type. 58 ctx: The rule context for which to find a toolchain. 64 # Check the incompatible flag for toolchain resolution. 67 …fail("In order to use find_cc_toolchain, your rule has to depend on C++ toolchain. See find_cc_too… 78 …fail("In order to use find_cc_toolchain, your rule has to depend on C++ toolchain. See find_cc_too…
|
/build/soong/rust/ |
D | compiler.go | 248 flags.GlobalRustFlags = append(flags.GlobalRustFlags, ctx.toolchain().ToolchainRustFlags()) 249 flags.GlobalLinkFlags = append(flags.GlobalLinkFlags, ctx.toolchain().ToolchainLinkFlags()) 258 if ctx.toolchain().Is64Bit() { 313 stdlib = stdlib + "_" + ctx.toolchain().RustTriple() 334 if libRuntimeBuiltins := config.BuiltinsRuntimeLibrary(ctx.toolchain()); libRuntimeBuiltins != "" { 351 if ctx.toolchain().Is64Bit() && compiler.dir64 != "" {
|
D | rust.go | 691 toolchain() config.Toolchain methodSpec 710 func (ctx *moduleContext) toolchain() config.Toolchain { func 711 return ctx.RustModule().toolchain(ctx) 718 func (ctx *depsContext) toolchain() config.Toolchain { func 719 return ctx.RustModule().toolchain(ctx) 726 func (ctx *baseModuleContext) toolchain() config.Toolchain { func 727 return ctx.RustModule().toolchain(ctx) 744 func (mod *Module) toolchain(ctx android.BaseModuleContext) config.Toolchain { func 768 toolchain := mod.toolchain(ctx) 778 if !toolchain.Supported() { [all …]
|
D | sanitize.go | 145 deps = []string{config.LibclangRuntimeLibrary(mod.toolchain(mctx), "asan")} 159 deps = []string{config.LibclangRuntimeLibrary(mod.toolchain(mctx), "hwasan_static")} 164 deps = []string{config.LibclangRuntimeLibrary(mod.toolchain(mctx), "hwasan")}
|
D | proc_macro.go | 67 fileName := procMacro.getStem(ctx) + ctx.toolchain().ProcMacroSuffix()
|
D | library.go | 406 if ctx.toolchain().Bionic() && (library.dylib() || library.shared()) { 416 return library.getStem(ctx) + ctx.toolchain().SharedLibSuffix() 453 fileName = library.getStem(ctx) + ctx.toolchain().RlibSuffix() 458 fileName = library.getStem(ctx) + ctx.toolchain().DylibSuffix() 463 fileName = library.getStem(ctx) + ctx.toolchain().StaticLibSuffix()
|
D | builder.go | 198 targetTriple := ctx.toolchain().RustTriple() 313 targetTriple := ctx.toolchain().RustTriple()
|
/build/soong/cc/config/ |
D | toolchain.go | 119 func NDKTriple(toolchain Toolchain) string { 120 triple := toolchain.ndkTriple() 123 triple = toolchain.ClangTriple()
|
D | Android.bp | 17 "toolchain.go",
|
/build/soong/rust/config/ |
D | Android.bp | 17 "toolchain.go",
|
/build/bazel/ |
D | common.bazelrc | 6 # # Use toolchain resolution to find the cc toolchain. 29 # Disable local cpp toolchain detection, as it is explicitly declared in AOSP.
|
/build/bazel/platforms/arch/ |
D | BUILD | 23 # Alias to the local_jdk's toolchain constraint to make local_jdk resolve
|
/build/bazel/platforms/os/ |
D | BUILD | 13 # Alias to the local_jdk's toolchain constraint to make local_jdk resolve
|
/build/bazel/rules/ |
D | static_libc.bzl | 1 # Rules and macros to define a cc toolchain with a static libc.
|
D | cc_object.bzl | 100 default = Label("@local_config_cc//:toolchain"),
|
/build/soong/ |
D | Android.bp | 46 // C static libraries extracted from the gcc toolchain
|