/build/soong/rust/config/ |
D | toolchain.go | 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) { [all …]
|
D | arm_device.go | 79 func ArmToolchainFactory(arch android.Arch) Toolchain { 82 "${config.Arm" + arch.ArchVariant + "VariantRustFlags}", 87 for _, feature := range arch.ArchFeatures {
|
D | x86_device.go | 87 func x86ToolchainFactory(arch android.Arch) Toolchain { 90 "${config.X86" + arch.ArchVariant + "VariantRustFlags}", 95 for _, feature := range arch.ArchFeatures {
|
D | x86_64_device.go | 84 func x86_64ToolchainFactory(arch android.Arch) Toolchain { 87 "${config.X86_64" + arch.ArchVariant + "VariantRustFlags}", 92 for _, feature := range arch.ArchFeatures {
|
D | arm64_device.go | 79 func Arm64ToolchainFactory(arch android.Arch) Toolchain { 80 archVariant := arch.ArchVariant 94 for _, feature := range arch.ArchFeatures {
|
/build/bazel/platforms/ |
D | BUILD.bazel | 12 # These model after the arch and OS definitions in build/soong/android/arch.go. 21 "//build/bazel/platforms/arch:x86", 29 "//build/bazel/platforms/arch:x86_64", 39 "//build/bazel/platforms/arch:arm64", 47 "//build/bazel/platforms/arch:x86_64", 56 "//build/bazel/platforms/arch:x86_64", 65 "//build/bazel/platforms/arch:x86", 73 "//build/bazel/platforms/arch:x86_64", 83 "//build/bazel/platforms/arch:arm", 91 "//build/bazel/platforms/arch:arm64", [all …]
|
/build/soong/bazel/ |
D | properties.go | 239 func (attr *LabelAttribute) GetValueForArch(arch string) Label { 240 switch arch { 256 func (attr *LabelAttribute) SetValueForArch(arch string, value Label) { 257 switch arch { 323 for arch := range PlatformArchMap { 324 this := attrs.GetValueForArch(arch) 325 that := other.GetValueForArch(arch) 327 attrs.SetValueForArch(arch, this) 343 for arch := range PlatformArchMap { 344 if len(attrs.GetValueForArch(arch).Includes) > 0 { [all …]
|
D | aquery_test.go | 228 for _, arch := range []string{"arm", "arm64", "x86", "x86_64"} { 233 arch, arch), 235 fmt.Sprintf("bazel-out/sourceroot/k8-fastbuild/bin/bionic/libc/syscalls-%s.S", arch),
|
/build/soong/cc/config/ |
D | toolchain.go | 24 type toolchainFactory func(arch android.Arch) Toolchain 28 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) { 32 toolchainFactories[os][arch] = factory 57 func FindToolchain(os android.OsType, arch android.Arch) Toolchain { 58 t, err := findToolchain(os, arch) 65 func findToolchain(os android.OsType, arch android.Arch) (Toolchain, error) { 66 factory := toolchainFactories[os][arch.ArchType] 68 return nil, fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String()) 70 return factory(arch), nil 210 arch := t.LibclangRuntimeLibraryArch() [all …]
|
D | arm64_device.go | 207 func arm64ToolchainFactory(arch android.Arch) Toolchain { 208 switch arch.ArchVariant { 215 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant)) 218 toolchainClangCflags := []string{arm64ClangArchVariantCflagsVar[arch.ArchVariant]} 220 variantOrDefault(arm64ClangCpuVariantCflagsVar, arch.CpuVariant)) 223 switch arch.CpuVariant {
|
D | arm_device.go | 318 func armToolchainFactory(arch android.Arch) Toolchain { 323 toolchainClangCflags[1] = armClangArchVariantCflagsVar[arch.ArchVariant] 326 variantOrDefault(armClangCpuVariantCflagsVar, arch.CpuVariant)) 328 switch arch.ArchVariant { 330 switch arch.CpuVariant { 342 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant))
|
D | x86_device.go | 197 func x86ToolchainFactory(arch android.Arch) Toolchain { 200 "${config.X86" + arch.ArchVariant + "VariantClangCflags}", 203 for _, feature := range arch.ArchFeatures {
|
D | x86_64_device.go | 186 func x86_64ToolchainFactory(arch android.Arch) Toolchain { 189 "${config.X86_64" + arch.ArchVariant + "VariantClangCflags}", 192 for _, feature := range arch.ArchFeatures {
|
/build/soong/android/ |
D | arch_list.go | 398 func RegisterDefaultArchVariantFeatures(os OsType, arch ArchType, features ...string) { 402 if !InList(feature, archFeatures[arch]) { 403 panic(fmt.Errorf("Invalid feature %q for arch %q variant \"\"", feature, arch)) 410 defaultArchFeatureMap[os][arch] = features
|
D | arch.go | 772 for _, arch := range archs { 773 if targets[i].Arch.ArchType == arch { 797 arch, multilib, target reflect.Type member 844 for i, arch := range archTypeList { 847 for _, archVariant := range archVariants[arch] { 851 for _, feature := range archFeatures[arch] { 870 Name: arch.Field, 923 arch: reflect.PtrTo(archType), 1003 Arch: reflect.Zero(t.arch).Interface(), 1213 func getArchProperties(ctx BaseMutatorContext, archProperties interface{}, arch Arch, os OsType, na… [all …]
|
D | packaging.go | 122 func (p *PackagingBase) getDepsForArch(ctx BaseModuleContext, arch ArchType) []string { 124 if arch == ctx.Target().Arch.ArchType && len(ctx.MultiTargets()) == 0 { 126 } else if arch.Multilib == "lib32" { 128 } else if arch.Multilib == "lib64" { 130 } else if arch == Common { 135 if t.Arch.ArchType == arch { 144 switch arch {
|
/build/soong/cc/ |
D | snapshot_utils.go | 84 func snapshotMapKey(name string, arch android.ArchType) string { 85 return name + ":" + arch.String() 90 func (s *snapshotMap) add(name string, arch android.ArchType, snapshot string) { 91 s.snapshots[snapshotMapKey(name, arch)] = snapshot 96 func (s *snapshotMap) get(name string, arch android.ArchType) (snapshot string, found bool) { 97 snapshot, found = s.snapshots[snapshotMapKey(name, arch)]
|
D | api_level.go | 24 arch android.ArchType) android.ApiLevel { 26 switch arch { 32 panic(fmt.Errorf("Unknown arch %q", arch))
|
D | bp2build.go | 245 for arch, props := range module.GetArchProperties(ctx, &BaseCompilerProperties{}) { 251 srcs.SetValueForArch(arch.Name, srcsList) 256 copts.SetValueForArch(arch.Name, parseCopts(baseCompilerProps)) 262 for arch, props := range module.GetArchProperties(ctx, &BaseCompilerProperties{}) { 264 …srcs.SetValueForArch(arch.Name, bazel.SubtractBazelLabelList(srcs.GetValueForArch(arch.Name), srcs… 340 for arch, p := range module.GetArchProperties(ctx, &BaseLinkerProperties{}) { 347 deps.SetValueForArch(arch.Name, android.BazelLabelForModuleDeps(ctx, libs)) 348 linkopts.SetValueForArch(arch.Name, getBp2BuildLinkerFlags(baseLinkerProps)) 349 …wholeArchiveDeps.SetValueForArch(arch.Name, android.BazelLabelForModuleDeps(ctx, wholeArchiveLibs)) 352 versionScript.SetValueForArch(arch.Name, [all …]
|
/build/blueprint/bpmodify/ |
D | bpmodify_test.go | 77 arch: { 94 arch: { 107 arch: { 123 arch: { 136 arch: { 154 arch: { 167 arch: { 200 arch: {}, 206 arch: {},
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 157 def should_omit_version(version: Version, arch: Arch, api: int, llndk: bool, 177 if not symbol_in_arch(version.tags, arch): 179 if not symbol_in_api(version.tags, arch, api): 184 def should_omit_symbol(symbol: Symbol, arch: Arch, api: int, llndk: bool, 193 if not symbol_in_arch(symbol.tags, arch): 195 if not symbol_in_api(symbol.tags, arch, api): 200 def symbol_in_arch(tags: Iterable[Tag], arch: Arch) -> bool: 204 if tag == arch: 215 def symbol_in_api(tags: Iterable[Tag], arch: Arch, api: int) -> bool: 223 elif tag.startswith('introduced-' + arch + '='): [all …]
|
/build/soong/cc/ndkstubgen/ |
D | __init__.py | 31 def __init__(self, src_file: TextIO, version_script: TextIO, arch: Arch, 35 self.arch = arch 47 if symbolfile.should_omit_version(version, self.arch, self.api, 56 if symbolfile.should_omit_symbol(symbol, self.arch, self.api, 147 args.arch, api, args.llndk, 154 generator = Generator(src_file, version_file, args.arch, api,
|
/build/soong/sh/ |
D | sh_binary_test.go | 119 for _, arch := range arches { 120 variant := ctx.ModuleForTests("foo", arch) 123 if arch == "darwin_x86_64" { 127 expectedInput := "out/soong/.intermediates/libbar/" + arch + "_shared/libbar" + libExt 133 filepath.Join("out/soong/.intermediates/bar", arch, ":bar"), 134 filepath.Join("out/soong/.intermediates/foo", arch, "relocated/:lib64/libbar"+libExt),
|
/build/soong/bp2build/ |
D | configurability.go | 21 for arch, selectKey := range bazel.PlatformArchMap { 22 archSelects[selectKey] = reflect.ValueOf(list.GetValueForArch(arch)) 39 for arch, selectKey := range bazel.PlatformArchMap { 40 archSelects[selectKey] = reflect.ValueOf(label.GetValueForArch(arch)) 56 for arch, selectKey := range bazel.PlatformArchMap { 57 archSelects[selectKey] = reflect.ValueOf(list.GetValueForArch(arch).Includes)
|
/build/soong/rust/ |
D | fuzz.go | 120 arch string member 163 archOs := archOs{hostOrTarget: hostOrTargetString, arch: archString, dir: archDir.String()} 245 arch := archOs.arch 248 outputFile := android.PathForOutput(ctx, "fuzz-rust-"+hostOrTarget+"-"+arch+".zip") 264 builder.Build("create-fuzz-package-"+arch+"-"+hostOrTarget, 265 "Create fuzz target packages for "+arch+"-"+hostOrTarget)
|