Home
last modified time | relevance | path

Searched refs:toolchain (Results 1 – 25 of 47) sorted by relevance

12

/build/soong/cc/
Dmakevars.go193 toolchain := config.FindToolchain(target.Os, target.Arch)
207 includeFlags, err := ctx.Eval(toolchain.IncludeFlags())
216 flags, err := toolchain.InstructionSetFlags("arm")
222 flags, err = toolchain.InstructionSetFlags("thumb")
231 ctx.Strict(clangPrefix+"TRIPLE", toolchain.ClangTriple())
233 toolchain.Cflags(),
236 toolchain.ToolchainCflags(),
242 toolchain.Cppflags(),
246 toolchain.Ldflags(),
247 toolchain.ToolchainLdflags(),
[all …]
Dndk_prebuilt.go37 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)
Dstl.go159 if ctx.toolchain().Bionic() {
168 if ctx.toolchain().Bionic() && ctx.Module().Name() == "libc++" {
210 if !ctx.toolchain().Bionic() {
235 if !ctx.toolchain().Bionic() {
Dlinker.go283 if ctx.toolchain().Is64Bit() {
395 deps.SystemSharedLibs = append(deps.SystemSharedLibs, ctx.toolchain().DefaultSharedLibraries()...)
398 if ctx.toolchain().Bionic() {
401 deps.LateStaticLibs = append(deps.LateStaticLibs, config.BuiltinsRuntimeLibrary(ctx.toolchain()))
422 } else if ctx.toolchain().Musl() {
424 deps.LateStaticLibs = append(deps.LateStaticLibs, config.BuiltinsRuntimeLibrary(ctx.toolchain()))
469 toolchain := ctx.toolchain()
508 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.Lldflags())
510 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.Ldflags())
513 if !ctx.toolchain().Bionic() && ctx.Os() != android.LinuxMusl {
[all …]
Dbinary.go154 deps.CrtBegin = ctx.toolchain().CrtBeginStaticBinary()
155 deps.CrtEnd = ctx.toolchain().CrtEndStaticBinary()
157 deps.CrtBegin = ctx.toolchain().CrtBeginSharedBinary()
158 deps.CrtEnd = ctx.toolchain().CrtEndSharedBinary()
166 if ctx.toolchain().Bionic() {
269 if ctx.toolchain().Bionic() {
350 } else if (ctx.toolchain().Bionic() || ctx.toolchain().Musl()) && !binary.static() {
456 symlink+String(binary.Properties.Suffix)+ctx.toolchain().ExecutableSuffix())
Dsanitize.go494 if ctx.toolchain().Musl() {
528 if !ctx.toolchain().Is64Bit() {
591 minimalRuntimeLib := config.UndefinedBehaviorSanitizerMinimalRuntimeLibrary(ctx.toolchain()) + ".a"
711 if ctx.toolchain().Bionic() || ctx.toolchain().Musl() {
1168 toolchain := c.toolchain(mctx)
1170 runtimeLibrary = config.AddressSanitizerRuntimeLibrary(toolchain)
1173 runtimeLibrary = config.HWAddressSanitizerStaticLibrary(toolchain)
1176 runtimeLibrary = config.HWAddressSanitizerRuntimeLibrary(toolchain)
1179 runtimeLibrary = config.ThreadSanitizerRuntimeLibrary(toolchain)
1182 runtimeLibrary = config.ScudoMinimalRuntimeLibrary(toolchain)
[all …]
/build/bazel/rules_cc/cc/
Dfind_cc_toolchain.bzl20 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/bazel/rules/apex/
DBUILD1 load("//build/bazel/rules/apex:toolchain.bzl", "apex_toolchain")
39 toolchain(
48 toolchain = ":prebuilt_apex_toolchain",
Dtoolchain.bzl18 doc = "APEX toolchain",
67 # and has been added to apex toolchain previously.
/build/soong/cc/config/
Dtoolchain.go128 func NDKTriple(toolchain Toolchain) string {
129 triple := toolchain.ndkTriple()
132 triple = toolchain.ClangTriple()
DAndroid.bp17 "toolchain.go",
/build/soong/rust/
Dbinary.go75 if ctx.toolchain().Bionic() {
96 if ctx.toolchain().Bionic() {
132 fileName := binary.getStem(ctx) + ctx.toolchain().ExecutableSuffix()
Dcompiler.go305 flags.GlobalRustFlags = append(flags.GlobalRustFlags, ctx.toolchain().ToolchainRustFlags())
306 flags.GlobalLinkFlags = append(flags.GlobalLinkFlags, ctx.toolchain().ToolchainLinkFlags())
315 if ctx.toolchain().Is64Bit() {
398 if libRuntimeBuiltins := config.BuiltinsRuntimeLibrary(ctx.toolchain()); libRuntimeBuiltins != "" {
411 if libRuntimeBuiltins := config.BuiltinsRuntimeLibrary(ctx.toolchain()); libRuntimeBuiltins != "" {
429 if ctx.toolchain().Is64Bit() && compiler.dir64 != "" {
Drust.go767 toolchain() config.Toolchain methodSpec
786 func (ctx *moduleContext) toolchain() config.Toolchain { func
787 return ctx.RustModule().toolchain(ctx)
794 func (ctx *depsContext) toolchain() config.Toolchain { func
795 return ctx.RustModule().toolchain(ctx)
802 func (ctx *baseModuleContext) toolchain() config.Toolchain { func
803 return ctx.RustModule().toolchain(ctx)
831 func (mod *Module) toolchain(ctx android.BaseModuleContext) config.Toolchain { func
855 toolchain := mod.toolchain(ctx)
860 if !toolchain.Supported() {
[all …]
Dbuilder.go198 targetTriple := ctx.toolchain().RustTriple()
233 if ctx.toolchain().Is64Bit() {
340 targetTriple := ctx.toolchain().RustTriple()
/build/soong/rust/config/
DAndroid.bp17 "toolchain.go",
/build/make/tools/compliance/cmd/testdata/
DREADME.md16 * one of the binaries, `bin3`, is a toolchain executable like a compiler
67 app -> bin3 [label="toolchain"];
138 app -> bin3 [label="toolchain"];
173 app -> bin3 [label="toolchain"];
207 app -> bin3 [label="toolchain"];
241 app -> bin3 [label="toolchain"];
275 app -> bin3 [label="toolchain"];
309 app -> bin3 [label="toolchain"];
/build/bazel/platforms/arch/
DBUILD24 # Alias to the local_jdk's toolchain constraint to make local_jdk resolve
/build/bazel/
Dcommon.bazelrc12 # Use toolchain resolution to find the cc toolchain.
34 # Disable local cpp toolchain detection, as it is explicitly declared in AOSP.
/build/make/tools/compliance/cmd/testdata/restricted/
Dapplication.meta_lic15 annotations: "toolchain"
/build/make/tools/compliance/cmd/testdata/reciprocal/
Dapplication.meta_lic15 annotations: "toolchain"
/build/make/tools/compliance/cmd/testdata/firstparty/
Dapplication.meta_lic15 annotations: "toolchain"
/build/make/tools/compliance/cmd/testdata/notice/
Dapplication.meta_lic15 annotations: "toolchain"
/build/make/tools/compliance/cmd/testdata/proprietary/
Dapplication.meta_lic15 annotations: "toolchain"
/build/bazel/platforms/os/
DBUILD23 # Alias to the local_jdk's toolchain constraint to make local_jdk resolve

12