Revert "Revert "Set VIC as minimum SDK version for riscv64""
This reverts commit 02f4e6f559
.
Change-Id: I9fb87e2789bbc8437da56faa335de49865e08350
This commit is contained in:
parent
08e634d5ce
commit
81532c2762
1 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,11 @@ func MinApiForArch(ctx android.EarlyModuleContext,
|
|||
case android.Arm64, android.X86_64:
|
||||
return android.FirstLp64Version
|
||||
case android.Riscv64:
|
||||
return android.FutureApiLevel
|
||||
apiLevel, err := android.ApiLevelFromUser(ctx, "VanillaIceCream")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return apiLevel
|
||||
default:
|
||||
panic(fmt.Errorf("Unknown arch %q", arch))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue