Revert "Revert "Use prebuilt NDK libc++ for rv64.""

This reverts commit 967e16f3d8.

Change-Id: I78cb0176fd21a8c0c376bee76631621712aeddaa
This commit is contained in:
Prashanth Swaminathan 2023-07-26 09:42:41 -07:00
parent ed83eba40f
commit 08e634d5ce

View file

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