From 02f4e6f559c01a0903f96b95faea1d086e68e855 Mon Sep 17 00:00:00 2001 From: NaYoung Yun Date: Wed, 26 Jul 2023 04:11:02 +0000 Subject: [PATCH] Revert "Set VIC as minimum SDK version for riscv64" This reverts commit a96a2677b667629c8ed7f87ac4a114f886c80de4. Reason for revert: build break Reverted changes: /q/submissionid:2676418-hack-rv64-libc%252B%252B Bug: 293214158 Bug: 293214503 Bug: 293214158 Bug: 293219471 Change-Id: I6eaa1f7c9f498159db4d50840dd91e246314153f --- cc/api_level.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cc/api_level.go b/cc/api_level.go index 69a0d3ae4..a5571f31f 100644 --- a/cc/api_level.go +++ b/cc/api_level.go @@ -31,11 +31,7 @@ func MinApiForArch(ctx android.EarlyModuleContext, case android.Arm64, android.X86_64: return android.FirstLp64Version case android.Riscv64: - apiLevel, err := android.ApiLevelFromUser(ctx, "VanillaIceCream") - if err != nil { - panic(err) - } - return apiLevel + return android.FutureApiLevel default: panic(fmt.Errorf("Unknown arch %q", arch)) }