summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2023-01-26 14:08:41 -0800
committerColin Cross <ccross@android.com>2023-01-26 14:08:41 -0800
commitecb2748e588a5df9de72d37dfed68a5bb23eabad (patch)
tree2016679449464aadb349049ca94407cb3087ffb4
parent9b8c5479211a1a1dc5d35d399f88344fd1f18610 (diff)
downloadlibcxxabi-ecb2748e588a5df9de72d37dfed68a5bb23eabad.tar.gz
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
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
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 {