/build/bazel/product_config/ |
D | android_product.bzl | 16 load("//build/bazel/platforms/arch/variants:constants.bzl", _arch_constants = "constants") 30 "@//build/bazel_common_rules/platforms/arch:x86", 34 "@//build/bazel_common_rules/platforms/arch:x86_64", 38 "@//build/bazel_common_rules/platforms/arch:x86", 42 "@//build/bazel_common_rules/platforms/arch:x86_64", 48 "@//build/bazel_common_rules/platforms/arch:arm64", 52 "@//build/bazel_common_rules/platforms/arch:x86_64", 56 "@//build/bazel_common_rules/platforms/arch:arm64", 60 "@//build/bazel_common_rules/platforms/arch:x86_64", 64 "@//build/bazel_common_rules/platforms/arch:x86", [all …]
|
/build/soong/rust/config/ |
D | toolchain.go | 128 arch := t.LibclangRuntimeLibraryArch() 129 if arch == "" { 133 return "librustc_rt." + library + "-" + arch 135 return "librustc_rt." + library + "-" + arch + "-android" 142 type toolchainFactory func(arch android.Arch) Toolchain 146 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) { 150 toolchainFactories[os][arch] = factory 153 func FindToolchain(os android.OsType, arch android.Arch) Toolchain { 154 factory := toolchainFactories[os][arch.ArchType] 158 return factory(arch)
|
D | riscv64_device.go | 80 func Riscv64ToolchainFactory(arch android.Arch) Toolchain { 81 archVariant := arch.ArchVariant 90 for _, feature := range arch.ArchFeatures {
|
D | x86_64_device.go | 90 func x86_64ToolchainFactory(arch android.Arch) Toolchain { 93 "${config.X86_64" + arch.ArchVariant + "VariantRustFlags}", 98 for _, feature := range arch.ArchFeatures {
|
D | arm_device.go | 80 func ArmToolchainFactory(arch android.Arch) Toolchain { 83 "${config.Arm" + arch.ArchVariant + "VariantRustFlags}", 88 for _, feature := range arch.ArchFeatures {
|
D | x86_device.go | 92 func x86ToolchainFactory(arch android.Arch) Toolchain { 95 "${config.X86" + arch.ArchVariant + "VariantRustFlags}", 100 for _, feature := range arch.ArchFeatures {
|
D | arm64_device.go | 90 func Arm64ToolchainFactory(arch android.Arch) Toolchain { 91 archVariant := arch.ArchVariant 105 for _, feature := range arch.ArchFeatures {
|
D | x86_linux_host.go | 112 func linuxGlibcX8664ToolchainFactory(arch android.Arch) Toolchain { 134 func linuxMuslX8664ToolchainFactory(arch android.Arch) Toolchain { 187 func linuxGlibcX86ToolchainFactory(arch android.Arch) Toolchain { 209 func linuxMuslX86ToolchainFactory(arch android.Arch) Toolchain {
|
/build/bazel/platforms/arch/variants/ |
D | BUILD | 27 name = variant + "-" + arch, 29 arch_variant_to_constraints[arch], 35 for arch, variants in constants.ArchToVariants.items() 53 name = variant + "-" + arch, 55 arch_variant_to_constraints[arch], 61 for arch, variants in constants.CpuToVariants.items() 80 name = arch + "-" + "-".join(sorted(features)), 82 arch_variant_to_constraints[arch], 90 for arch, all_features in constants.ArchToFeatures.items()
|
D | constants.bzl | 1 """Constants for arch/cpu variants/features.""" 70 "arm": "//build/bazel_common_rules/platforms/arch:arm", 71 "arm64": "//build/bazel_common_rules/platforms/arch:arm64", 72 "x86": "//build/bazel_common_rules/platforms/arch:x86", 73 "x86_64": "//build/bazel_common_rules/platforms/arch:x86_64", 74 "riscv64": "//build/bazel_common_rules/platforms/arch:riscv64",
|
/build/soong/cc/config/ |
D | riscv64_device.go | 125 func riscv64ToolchainFactory(arch android.Arch) Toolchain { 126 switch arch.ArchVariant { 129 panic(fmt.Sprintf("Unknown Riscv64 architecture version: %q", arch.ArchVariant)) 132 toolchainCflags := []string{riscv64ArchVariantCflagsVar[arch.ArchVariant]} 134 variantOrDefault(riscv64CpuVariantCflagsVar, arch.CpuVariant)) 136 extraLdflags := variantOrDefault(riscv64CpuVariantLdflags, arch.CpuVariant)
|
D | toolchain.go | 30 type toolchainFactory func(arch android.Arch) Toolchain 34 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) { 38 toolchainFactories[os][arch] = factory 54 func FindToolchain(os android.OsType, arch android.Arch) Toolchain { 55 t, err := findToolchain(os, arch) 62 func findToolchain(os android.OsType, arch android.Arch) (Toolchain, error) { 63 factory := toolchainFactories[os][arch.ArchType] 65 return nil, fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String()) 67 return factory(arch), nil
|
D | x86_device.go | 173 func x86ToolchainFactory(arch android.Arch) Toolchain { 175 if _, ok := x86ArchVariantCflags[arch.ArchVariant]; !ok { 176 panic(fmt.Sprintf("Unknown x86 architecture version: %q", arch.ArchVariant)) 181 "${config.X86" + arch.ArchVariant + "VariantCflags}", 184 for _, feature := range arch.ArchFeatures {
|
D | x86_64_device.go | 182 func x86_64ToolchainFactory(arch android.Arch) Toolchain { 184 if _, ok := x86_64ArchVariantCflags[arch.ArchVariant]; !ok { 185 panic(fmt.Sprintf("Unknown x86_64 architecture version: %q", arch.ArchVariant)) 190 "${config.X86_64" + arch.ArchVariant + "VariantCflags}", 193 for _, feature := range arch.ArchFeatures {
|
D | arm64_device.go | 206 func arm64ToolchainFactory(arch android.Arch) Toolchain { 207 switch arch.ArchVariant { 215 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant)) 218 toolchainCflags := []string{arm64ArchVariantCflagsVar[arch.ArchVariant]} 220 variantOrDefault(arm64CpuVariantCflagsVar, arch.CpuVariant)) 222 extraLdflags := variantOrDefault(arm64CpuVariantLdflags, arch.CpuVariant)
|
D | arm_device.go | 312 func armToolchainFactory(arch android.Arch) Toolchain { 317 toolchainCflags[1] = armArchVariantCflagsVar[arch.ArchVariant] 320 variantOrDefault(armCpuVariantCflagsVar, arch.CpuVariant)) 322 switch arch.ArchVariant { 324 switch arch.CpuVariant { 336 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant))
|
/build/soong/bazel/ |
D | configurability.go | 135 for arch, allFeatures := range archFeatures { 136 result[arch] = "//build/bazel_common_rules/platforms/arch:" + arch 142 archFeaturesName := arch + "-" + strings.Join(features, "-") 243 arch const 254 func osArchString(os string, arch string) string { 255 return fmt.Sprintf("%s_%s", os, arch) 261 arch: "arch", 279 case arch: 320 case arch: 352 ArchConfigurationAxis = ConfigurationAxis{configurationType: arch}
|
/build/soong/cc/ |
D | api_level.go | 26 arch android.ArchType) android.ApiLevel { 28 switch arch { 40 panic(fmt.Errorf("Unknown arch %q", arch))
|
/build/bazel/platforms/ |
D | platform_utils.bzl | 26 "_x86_constraint": "//build/bazel_common_rules/platforms/arch:x86", 27 "_x86_64_constraint": "//build/bazel_common_rules/platforms/arch:x86_64", 28 "_arm_constraint": "//build/bazel_common_rules/platforms/arch:arm", 29 "_arm64_constraint": "//build/bazel_common_rules/platforms/arch:arm64", 30 "_secondary_x86_constraint": "//build/bazel_common_rules/platforms/arch:secondary_x86", 31 "_secondary_x86_64_constraint": "//build/bazel_common_rules/platforms/arch:secondary_x86_64", 32 "_secondary_arm_constraint": "//build/bazel_common_rules/platforms/arch:secondary_arm", 33 "_secondary_arm64_constraint": "//build/bazel_common_rules/platforms/arch:secondary_arm64", 125 fail("Unable to determine target arch") 131 If the secondary arch is the same as the primary arch, an empty string will be returned. [all …]
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 239 def __init__(self, arch: Arch, api: int, llndk: bool = False, apex: bool = False, systemapi: 241 self.arch = arch 258 if not symbol_in_arch(tags, self.arch): 260 if not symbol_in_llndk_api(tags, self.arch, self.api): 272 if not symbol_in_arch(tags, self.arch): 274 if not symbol_in_api(tags, self.arch, self.api): 305 def symbol_in_arch(tags: Tags, arch: Arch) -> bool: 309 if tag == arch: 319 def symbol_in_llndk_api(tags: Iterable[Tag], arch: Arch, api: int) -> bool: 326 return symbol_in_api(tags, arch, 34) [all …]
|
/build/bazel/product_config/config_settings/ |
D | soong_config_variable_config_settings.bzl | 24 load("//build/bazel/platforms/arch/variants:constants.bzl", "arch_variant_to_constraints") 42 # being off, but there being some arch/os constraint in addition. This won't be used 43 # directly in build files, but the below combinations of it + and arch will. For example: 74 # see the comment below about these arch-specific config settings 75 for arch, archConstraint in arch_variant_to_constraints.items(): 77 name = variable + "__" + arch, 84 name = variable + "__conditions_default__" + arch, 165 for arch, archConstraint in arch_variant_to_constraints.items(): 167 name = var_with_choice + "__" + arch, 175 # possible choices), but other arch/os requirements being active. [all …]
|
/build/bazel/ci/ |
D | build_with_bazel.sh | 47 for arch in arm arm64 x86 x86_64; do 50 product=${product_prefix}${arch} 90 --dist_dir="${DIST_DIR}/mainline_modules_${arch}"
|
/build/bazel/toolchains/rust/bootstrap/ |
D | BUILD.bazel | 35 name = "rust_toolchain_" + os + "_" + arch + "_base_impl", 50 for (target_triple, os, arch, rustc_flags) in platforms 55 name = "rust_toolchain_" + os + "_" + arch + "_base", 58 "//build/bazel_common_rules/platforms/arch:" + arch, 62 toolchain = ":rust_toolchain_" + os + "_" + arch + "_base_impl", 65 for (_, os, arch, __) in platforms
|
/build/soong/android/ |
D | arch.go | 761 for _, arch := range archs { 762 if targets[i].Arch.ArchType == arch { 798 arch, multilib, target reflect.Type member 845 for i, arch := range archTypeList { 848 for _, archVariant := range archVariants[arch] { 852 for _, cpuVariant := range cpuVariants[arch] { 856 for _, feature := range archFeatures[arch] { 875 Name: arch.Field, 950 arch: reflect.PtrTo(archType), 1037 Arch: reflect.Zero(t.arch).Interface(), [all …]
|
/build/make/tools/releasetools/merge/ |
D | merge_dexopt.py | 235 arch = 'arm64' 238 'oat', arch) 241 apk_dir, app, 'oat', arch) 260 vendor_app_prefix + '/' + arch + ' 0 2000 755 ' + selabel + '\n', 261 vendor_app_prefix + '/' + arch + '/' + app + '.odex 0 0 644 ' + 263 vendor_app_prefix + '/' + arch + '/' + app + '.vdex 0 0 644 ' +
|