Merge "Add riscv64 support for apex prebuilt"

This commit is contained in:
Treehugger Robot 2022-10-12 19:56:43 +00:00 committed by Gerrit Code Review
commit edc294aff2

View file

@ -500,6 +500,9 @@ type ApexFileProperties struct {
Arm64 struct {
Src *string `android:"path"`
}
Riscv64 struct {
Src *string `android:"path"`
}
X86 struct {
Src *string `android:"path"`
}
@ -527,6 +530,8 @@ func (p *ApexFileProperties) prebuiltApexSelector(ctx android.BaseModuleContext,
src = String(p.Arch.Arm.Src)
case android.Arm64:
src = String(p.Arch.Arm64.Src)
case android.Riscv64:
src = String(p.Arch.Riscv64.Src)
case android.X86:
src = String(p.Arch.X86.Src)
case android.X86_64: