Home
last modified time | relevance | path

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

123

/build/soong/cc/config/
Dtoolchain.go24 type toolchainFactory func(arch android.Arch) Toolchain
28 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) {
32 toolchainFactories[os][arch] = factory
35 func FindToolchain(os android.OsType, arch android.Arch) Toolchain {
36 factory := toolchainFactories[os][arch.ArchType]
38 panic(fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String()))
40 return factory(arch)
180 arch := t.LibclangRuntimeLibraryArch()
181 if arch == "" {
185 return "libclang_rt." + library + "-" + arch
[all …]
Darm64_device.go197 func arm64ToolchainFactory(arch android.Arch) Toolchain {
198 switch arch.ArchVariant {
203 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant))
206 toolchainClangCflags := []string{arm64ClangArchVariantCflagsVar[arch.ArchVariant]}
208 variantOrDefault(arm64ClangCpuVariantCflagsVar, arch.CpuVariant))
211 switch arch.CpuVariant {
Darm_device.go319 func armToolchainFactory(arch android.Arch) Toolchain {
324 toolchainClangCflags[1] = armClangArchVariantCflagsVar[arch.ArchVariant]
327 variantOrDefault(armClangCpuVariantCflagsVar, arch.CpuVariant))
329 switch arch.ArchVariant {
331 switch arch.CpuVariant {
343 panic(fmt.Sprintf("Unknown ARM architecture version: %q", arch.ArchVariant))
Dx86_device.go197 func x86ToolchainFactory(arch android.Arch) Toolchain {
200 "${config.X86" + arch.ArchVariant + "VariantClangCflags}",
203 for _, feature := range arch.ArchFeatures {
Dx86_64_device.go186 func x86_64ToolchainFactory(arch android.Arch) Toolchain {
189 "${config.X86_64" + arch.ArchVariant + "VariantClangCflags}",
192 for _, feature := range arch.ArchFeatures {
/build/soong/rust/config/
Dtoolchain.go113 type toolchainFactory func(arch android.Arch) Toolchain
117 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) {
121 toolchainFactories[os][arch] = factory
124 func FindToolchain(os android.OsType, arch android.Arch) Toolchain {
125 factory := toolchainFactories[os][arch.ArchType]
129 return factory(arch)
Darm_device.go77 func ArmToolchainFactory(arch android.Arch) Toolchain {
80 "${config.Arm" + arch.ArchVariant + "VariantRustFlags}",
85 for _, feature := range arch.ArchFeatures {
Darm64_device.go77 func Arm64ToolchainFactory(arch android.Arch) Toolchain {
80 "${config.Arm64" + arch.ArchVariant + "VariantRustFlags}",
85 for _, feature := range arch.ArchFeatures {
Dx86_64_device.go79 func x86_64ToolchainFactory(arch android.Arch) Toolchain {
82 "${config.X86_64" + arch.ArchVariant + "VariantRustFlags}",
87 for _, feature := range arch.ArchFeatures {
Dx86_device.go82 func x86ToolchainFactory(arch android.Arch) Toolchain {
85 "${config.X86" + arch.ArchVariant + "VariantRustFlags}",
90 for _, feature := range arch.ArchFeatures {
Dx86_linux_host.go87 func linuxX8664ToolchainFactory(arch android.Arch) Toolchain {
115 func linuxX86ToolchainFactory(arch android.Arch) Toolchain {
/build/soong/cc/symbolfile/
D__init__.py122 def should_omit_version(version, arch, api, llndk, apex): argument
141 if not symbol_in_arch(version.tags, arch):
143 if not symbol_in_api(version.tags, arch, api):
148 def should_omit_symbol(symbol, arch, api, llndk, apex): argument
156 if not symbol_in_arch(symbol.tags, arch):
158 if not symbol_in_api(symbol.tags, arch, api):
163 def symbol_in_arch(tags, arch): argument
167 if tag == arch:
178 def symbol_in_api(tags, arch, api): argument
186 elif tag.startswith('introduced-' + arch + '='):
[all …]
/build/soong/android/
Darch.go467 func RegisterDefaultArchVariantFeatures(os OsType, arch ArchType, features ...string) {
471 if !InList(feature, archFeatures[arch]) {
472 panic(fmt.Errorf("Invalid feature %q for arch %q variant \"\"", feature, arch))
479 defaultArchFeatureMap[os][arch] = features
942 func filterToArch(targets []Target, arch ArchType) []Target {
944 if targets[i].Arch.ArchType != arch {
953 arch, multilib, target reflect.Type member
991 for i, arch := range archTypeList {
994 for _, archVariant := range archVariants[arch] {
998 for _, feature := range archFeatures[arch] {
[all …]
/build/soong/cc/
Dsnapshot_utils.go44 func snapshotMapKey(name string, arch android.ArchType) string {
45 return name + ":" + arch.String()
50 func (s *snapshotMap) add(name string, arch android.ArchType, snapshot string) {
51 s.snapshots[snapshotMapKey(name, arch)] = snapshot
56 func (s *snapshotMap) get(name string, arch android.ArchType) (snapshot string, found bool) {
57 snapshot, found = s.snapshots[snapshotMapKey(name, arch)]
Dvndk_prebuilt.go85 if p.arch() != "" {
86 suffix += "." + p.arch()
98 func (p *vndkPrebuiltLibraryDecorator) arch() string { func
173 if len(arches) == 0 || arches[0].ArchType.String() != p.arch() {
195 if len(arches) == 0 || arches[0].ArchType.String() != p.arch() {
Dndk_library.go111 arch android.Arch) (string, error) {
125 firstArchVersion, ok := firstArchVersions[arch.ArchType]
127 panic(fmt.Errorf("Arch %q not found in firstArchVersions", arch.ArchType))
269 arch := ctx.Arch().ArchType.String()
282 "arch": arch,
362 arch := ctx.Target().Arch.ArchType.Name
368 if ctx.toolchain().Is64Bit() && arch != "arm64" {
373 "platforms/android-%s/arch-%s/usr/%s", apiLevel, arch, libDir))
Dvendor_snapshot.go119 if p.arch() != "" {
120 versionSuffix += "." + p.arch()
139 func (p *vendorSnapshotLibraryDecorator) arch() string { func
150 if len(arches) == 0 || arches[0].ArchType.String() != p.arch() {
297 if p.arch() != "" {
298 versionSuffix += "." + p.arch()
307 func (p *vendorSnapshotBinaryDecorator) arch() string { func
312 if config.DeviceArch() != p.arch() {
406 if p.arch() != "" {
407 versionSuffix += "." + p.arch()
[all …]
Dfuzz.go342 arch string member
391 archOs := archOs{hostOrTarget: hostOrTargetString, arch: archString, dir: archDir.String()}
507 arch := archOs.arch
510 outputFile := android.PathForOutput(ctx, "fuzz-"+hostOrTarget+"-"+arch+".zip")
527 builder.Build(pctx, ctx, "create-fuzz-package-"+arch+"-"+hostOrTarget,
528 "Create fuzz target packages for "+arch+"-"+hostOrTarget)
/build/soong/cc/ndkstubgen/
D__init__.py29 def __init__(self, src_file, version_script, arch, api, llndk, apex): argument
32 self.arch = arch
44 if symbolfile.should_omit_version(version, self.arch, self.api,
53 if symbolfile.should_omit_symbol(symbol, self.arch, self.api,
136 args.arch, api, args.llndk,
143 generator = Generator(src_file, version_file, args.arch, api,
/build/soong/sdk/
Dcc_sdk_test.go104 arch: {
118 arch: {
323 arch: {
338 arch: {
413 arch: {
433 arch: {
450 arch: {
499 arch: {
513 arch: {
679 arch: {
[all …]
/build/soong/java/
Ddexpreopt_bootjars.go363 arch := image.target.Arch.ArchType
365 symbolsDir := image.symbolsDir.Join(ctx, os, image.installSubdir, arch.String())
367 outputDir := image.dir.Join(ctx, os, image.installSubdir, arch.String())
369 oatLocation := dexpreopt.PathToLocation(outputPath, arch)
418 FlagWithArg("--boot-image=", dexpreopt.PathToLocation(artImage, arch)).Implicit(artImage)
434 FlagWithArg("--instruction-set=", arch.String()).
443 cmd.FlagWithArg("--instruction-set-variant=", global.CpuVariant[arch])
444 cmd.FlagWithArg("--instruction-set-features=", global.InstructionSetFeatures[arch])
457 installDir := filepath.Join("/", image.installSubdir, arch.String())
490 … image.name+"JarsDexpreopt_"+image.target.String(), "dexpreopt "+image.name+" jars "+arch.String())
[all …]
/build/soong/ui/metrics/metrics_proto/
Dmetrics.proto48 // The target arch information, eg. arm.
51 // The target arch variant information, eg. armv7-a-neon.
57 // The host arch information, eg. x86_64.
60 // The host 2nd arch information, eg. x86.
72 // The host cross arch information, eg. x86.
75 // The host cross 2nd arch information, eg. x86_64.
/build/soong/cc/ndk_api_coverage_parser/
D__init__.py51 arch = []
57 arch.append(tag)
60 attributes.update({ARCHITECTURE_ATTRIBUTE_KEY: ','.join(arch)})
/build/soong/dexpreopt/
Ddexpreopt.go250 arch := module.Archs[archIdx]
264 arch.String(),
268 …odexPath := module.BuildPath.InSameDir(ctx, "oat", arch.String(), pathtools.ReplaceExtension(base,…
393 FlagWithArg("--instruction-set=", arch.String()).
394 FlagWithArg("--instruction-set-variant=", global.CpuVariant[arch]).
395 FlagWithArg("--instruction-set-features=", global.InstructionSetFeatures[arch]).
546 func PathToLocation(path android.Path, arch android.ArchType) string {
548 if pathArch != arch.String() {
549 panic(fmt.Errorf("last directory in %q must be %q", path, arch.String()))
/build/soong/
DAndroid.bp53 arch: {
76 arch: {
101 arch: {
153 arch: {

123