Revert "Revert "Set VIC as minimum SDK version for riscv64""

This reverts commit 02f4e6f559.

Change-Id: I9fb87e2789bbc8437da56faa335de49865e08350
This commit is contained in:
Prashanth Swaminathan 2023-07-26 09:43:31 -07:00
parent 08e634d5ce
commit 81532c2762

View file

@ -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))
}