/build/bazel/platforms/os_arch/ |
D | BUILD.bazel | 4 "//build/bazel/platforms/arch:arm", 12 "//build/bazel/platforms/arch:arm64", 20 "//build/bazel/platforms/arch:x86", 28 "//build/bazel/platforms/arch:x86_64", 36 "//build/bazel/platforms/arch:arm64", 44 "//build/bazel/platforms/arch:x86_64", 52 "//build/bazel/platforms/arch:x86", 60 "//build/bazel/platforms/arch:x86_64", 68 "//build/bazel/platforms/arch:arm64", 76 "//build/bazel/platforms/arch:x86_64", [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 | x86_device.go | 87 func x86ToolchainFactory(arch android.Arch) Toolchain { 90 "${config.X86" + arch.ArchVariant + "VariantRustFlags}", 95 for _, feature := range arch.ArchFeatures {
|
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_64_device.go | 84 func x86_64ToolchainFactory(arch android.Arch) Toolchain { 87 "${config.X86_64" + arch.ArchVariant + "VariantRustFlags}", 92 for _, feature := range arch.ArchFeatures {
|
/build/bazel/platforms/arch/variants/ |
D | BUILD | 27 name = variant + "-" + arch, 29 _product_variable_constants.ArchVariantToConstraints[arch], 35 for arch, variants in constants.ArchToVariants.items() 53 name = variant + "-" + arch, 55 _product_variable_constants.ArchVariantToConstraints[arch], 61 for arch, variants in constants.CpuToVariants.items() 80 name = feature + "-" + arch, 82 _product_variable_constants.ArchVariantToConstraints[arch], 88 for arch, features in constants.ArchToFeatures.items()
|
/build/bazel/platforms/ |
D | BUILD.bazel | 12 # These model after the arch and OS definitions in build/soong/android/arch.go. 16 load("//build/bazel/platforms/arch/variants:constants.bzl", "constants") 36 "//build/bazel/platforms/arch:x86", 45 "//build/bazel/platforms/arch:x86_64", 56 "//build/bazel/platforms/arch:arm64", 65 "//build/bazel/platforms/arch:x86_64", 75 "//build/bazel/platforms/arch:arm64", 84 "//build/bazel/platforms/arch:x86_64", 94 "//build/bazel/platforms/arch:x86", 103 "//build/bazel/platforms/arch:x86_64", [all …]
|
/build/bazel/platforms/product_variables/ |
D | product_platform.bzl | 102 arch = local_vars.get("DeviceArch") 110 …actual = "{os}_{arch}{variant}".format(os = os, arch = arch, variant = _variant_name(arch, arch_va… 113 arch = local_vars.get("DeviceSecondaryArch") 117 if arch: 120 …actual = "{os}_{arch}{variant}".format(os = os, arch = arch, variant = _variant_name(arch, arch_va… 128 def _is_variant_default(arch, variant): 129 return variant == None or variant in (arch, "generic") 131 def _variant_name(arch, arch_variant, cpu_variant): 132 if _is_variant_default(arch, arch_variant): 134 if _is_variant_default(arch, cpu_variant):
|
/build/soong/rust/ |
D | vendor_snapshot_test.go | 93 for _, arch := range [][]string{ 97 archType := arch[0] 98 archVariant := arch[1] 203 for _, arch := range [][]string{ 207 archType := arch[0] 208 archVariant := arch[1] 320 for _, arch := range [][]string{ 324 archType := arch[0] 325 archVariant := arch[1] 439 arch: { [all …]
|
/build/soong/cc/config/ |
D | toolchain.go | 23 type toolchainFactory func(arch android.Arch) Toolchain 27 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) { 31 toolchainFactories[os][arch] = factory 56 func FindToolchain(os android.OsType, arch android.Arch) Toolchain { 57 t, err := findToolchain(os, arch) 64 func findToolchain(os android.OsType, arch android.Arch) (Toolchain, error) { 65 factory := toolchainFactories[os][arch.ArchType] 67 return nil, fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String()) 69 return factory(arch), nil
|
D | arm64_device.go | 211 func arm64ToolchainFactory(arch android.Arch) Toolchain { 212 switch arch.ArchVariant { 219 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant)) 222 toolchainCflags := []string{arm64ArchVariantCflagsVar[arch.ArchVariant]} 224 variantOrDefault(arm64CpuVariantCflagsVar, arch.CpuVariant)) 226 extraLdflags := variantOrDefault(arm64CpuVariantLdflags, arch.CpuVariant)
|
D | x86_64_device.go | 183 func x86_64ToolchainFactory(arch android.Arch) Toolchain { 185 if _, ok := x86_64ArchVariantCflags[arch.ArchVariant]; !ok { 186 panic(fmt.Sprintf("Unknown x86_64 architecture version: %q", arch.ArchVariant)) 191 "${config.X86_64" + arch.ArchVariant + "VariantCflags}", 194 for _, feature := range arch.ArchFeatures {
|
D | x86_device.go | 189 func x86ToolchainFactory(arch android.Arch) Toolchain { 191 if _, ok := x86ArchVariantCflags[arch.ArchVariant]; !ok { 192 panic(fmt.Sprintf("Unknown x86 architecture version: %q", arch.ArchVariant)) 197 "${config.X86" + arch.ArchVariant + "VariantCflags}", 200 for _, feature := range arch.ArchFeatures {
|
D | arm_device.go | 319 func armToolchainFactory(arch android.Arch) Toolchain { 324 toolchainCflags[1] = armArchVariantCflagsVar[arch.ArchVariant] 327 variantOrDefault(armCpuVariantCflagsVar, arch.CpuVariant)) 329 switch arch.ArchVariant { 331 switch arch.CpuVariant { 343 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant))
|
/build/soong/cc/ |
D | snapshot_utils.go | 88 func snapshotMapKey(name string, arch android.ArchType) string { 89 return name + ":" + arch.String() 94 func (s *snapshotMap) add(name string, arch android.ArchType, snapshot string) { 95 s.snapshots[snapshotMapKey(name, arch)] = snapshot 100 func (s *snapshotMap) get(name string, arch android.ArchType) (snapshot string, found bool) { 101 snapshot, found = s.snapshots[snapshotMapKey(name, arch)]
|
D | vendor_snapshot_test.go | 103 for _, arch := range [][]string{ 107 archType := arch[0] 108 archVariant := arch[1] 233 for _, arch := range [][]string{ 237 archType := arch[0] 238 archVariant := arch[1] 352 arch: { 374 arch: { 396 arch: { 410 arch: { [all …]
|
D | genrule_test.go | 43 arch: { 134 arch string 141 arch: "arm", 147 arch: "arm64", 169 arch: "arm", 184 android.AssertStringDoesContain(t, "incorrect CC_ARCH", cmd, "CC_ARCH="+tt.arch+" ")
|
D | api_level.go | 24 arch android.ArchType) android.ApiLevel { 26 switch arch { 32 panic(fmt.Errorf("Unknown arch %q", arch))
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 202 def _should_omit_tags(tags: Tags, arch: Arch, api: int, llndk: bool, 219 if not symbol_in_arch(tags, arch): 221 if not symbol_in_api(tags, arch, api): 226 def should_omit_version(version: Version, arch: Arch, api: int, llndk: bool, 238 return _should_omit_tags(version.tags, arch, api, llndk, apex) 241 def should_omit_symbol(symbol: Symbol, arch: Arch, api: int, llndk: bool, 244 return _should_omit_tags(symbol.tags, arch, api, llndk, apex) 247 def symbol_in_arch(tags: Tags, arch: Arch) -> bool: 251 if tag == arch: 262 def symbol_in_api(tags: Iterable[Tag], arch: Arch, api: int) -> bool: [all …]
|
/build/blueprint/bpmodify/ |
D | bpmodify_test.go | 79 arch: { 96 arch: { 109 arch: { 125 arch: { 138 arch: { 156 arch: { 169 arch: { 202 arch: {}, 208 arch: {},
|
/build/soong/bazel/ |
D | configurability.go | 134 arch const 140 func osArchString(os string, arch string) string { 141 return fmt.Sprintf("%s_%s", os, arch) 147 arch: "arch", 160 case arch: 185 case arch: 206 ArchConfigurationAxis = ConfigurationAxis{configurationType: arch}
|
/build/soong/android/ |
D | arch.go | 797 for _, arch := range archs { 798 if targets[i].Arch.ArchType == arch { 822 arch, multilib, target reflect.Type member 869 for i, arch := range archTypeList { 872 for _, archVariant := range archVariants[arch] { 876 for _, cpuVariant := range cpuVariants[arch] { 880 for _, feature := range archFeatures[arch] { 899 Name: arch.Field, 974 arch: reflect.PtrTo(archType), 1061 Arch: reflect.Zero(t.arch).Interface(), [all …]
|
/build/bazel/rules/apex/ |
D | mainline_modules.bzl | 37 # Multi-arch transition. 54 def _apex_proto_convert(ctx, arch, module_name, apex_file): 67 arch, 87 def _apex_base_file(ctx, arch, module_name, apex_proto_file): 98 base_file = ctx.actions.declare_file("/".join([module_name, arch, module_name + ".base"])) 105 abi = _arch_abi_map[arch] 124 def _build_bundle_config(ctx, arch, module_name): 141 """Run merge_zips to merge all files created for each arch by _apex_base_file.""" 197 file from apex files created for each arch.""" 201 for arch in ctx.split_attr.mainline_module: [all …]
|
/build/bazel/product_variables/ |
D | constants.bzl | 30 "arm": "//build/bazel/platforms/arch:arm", 31 "arm64": "//build/bazel/platforms/arch:arm64", 32 "x86": "//build/bazel/platforms/arch:x86", 33 "x86_64": "//build/bazel/platforms/arch:x86_64",
|
/build/soong/cc/ndkstubgen/ |
D | __init__.py | 32 symbol_list: TextIO, arch: Arch, api: int, llndk: bool, 37 self.arch = arch 50 if symbolfile.should_omit_version(version, self.arch, self.api, 59 if symbolfile.should_omit_symbol(symbol, self.arch, self.api, 158 args.arch, api, args.llndk, 167 args.arch, api, args.llndk, args.apex)
|