Use prebuilt NDK libc++ for rv64.

Bug: None
Test: None
Change-Id: Iebd8bce9a72a2206dfb3c6311ec9139f018df6a8
This commit is contained in:
Dan Albert
2023-07-25 22:12:47 +00:00
parent a96a2677b6
commit 5757c0cf9a

View File

@@ -80,8 +80,7 @@ func (stl *stl) begin(ctx BaseModuleContext) {
return "" return ""
} }
s = deduplicateStlInput(s) s = deduplicateStlInput(s)
archHasNDKStl := ctx.Arch().ArchType != android.Riscv64 if ctx.useSdk() && ctx.Device() {
if ctx.useSdk() && ctx.Device() && archHasNDKStl {
switch s { switch s {
case "", "system": case "", "system":
return "ndk_system" return "ndk_system"