Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 133) sorted by relevance

123456

/build/bazel/product_config/
Dandroid_product.bzl16 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/
Dtoolchain.go128 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)
Driscv64_device.go80 func Riscv64ToolchainFactory(arch android.Arch) Toolchain {
81 archVariant := arch.ArchVariant
90 for _, feature := range arch.ArchFeatures {
Dx86_64_device.go90 func x86_64ToolchainFactory(arch android.Arch) Toolchain {
93 "${config.X86_64" + arch.ArchVariant + "VariantRustFlags}",
98 for _, feature := range arch.ArchFeatures {
Darm_device.go80 func ArmToolchainFactory(arch android.Arch) Toolchain {
83 "${config.Arm" + arch.ArchVariant + "VariantRustFlags}",
88 for _, feature := range arch.ArchFeatures {
Dx86_device.go92 func x86ToolchainFactory(arch android.Arch) Toolchain {
95 "${config.X86" + arch.ArchVariant + "VariantRustFlags}",
100 for _, feature := range arch.ArchFeatures {
Darm64_device.go90 func Arm64ToolchainFactory(arch android.Arch) Toolchain {
91 archVariant := arch.ArchVariant
105 for _, feature := range arch.ArchFeatures {
Dx86_linux_host.go112 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/
DBUILD27 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()
Dconstants.bzl1 """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/
Driscv64_device.go125 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)
Dtoolchain.go30 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
Dx86_device.go173 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 {
Dx86_64_device.go182 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 {
Darm64_device.go206 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)
Darm_device.go312 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/
Dconfigurability.go135 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/
Dapi_level.go26 arch android.ArchType) android.ApiLevel {
28 switch arch {
40 panic(fmt.Errorf("Unknown arch %q", arch))
/build/bazel/platforms/
Dplatform_utils.bzl26 "_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__.py239 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/
Dsoong_config_variable_config_settings.bzl24 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/
Dbuild_with_bazel.sh47 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/
DBUILD.bazel35 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/
Darch.go761 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/
Dmerge_dexopt.py235 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 ' +

123456