From ecb2748e588a5df9de72d37dfed68a5bb23eabad Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 26 Jan 2023 14:08:41 -0800 Subject: Build sdk variants of libc++ for riscv64 There is no prebuilt libc++ for riscv64 provided by the NDK, build it using the platform sources instead. Test: lunch aosp_riscv64-userdebug && m -k Change-Id: I990709e4b2a64b43ba2713019533e771a51dc762 --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.bp b/Android.bp index 13951ff..83b2965 100644 --- a/Android.bp +++ b/Android.bp @@ -164,6 +164,10 @@ cc_library_static { "//apex_available:anyapex", ], min_sdk_version: "apex_inherit", + // sdk_version normally isn't needed as only the platform variant + // is used, except on riscv64 which doesn't have an NDK libc++ and + // reuses this module for sdk variants. + sdk_version: "current", } cc_fuzz { -- cgit v1.2.3