summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2023-02-06 22:17:03 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-06 22:17:03 +0000
commitbb40acda2bbb110f1bbdc3e9b71e755532edbd02 (patch)
tree50749d7d54a4d1abaf08801b3deaee040610d972
parent28954ab7fc0a9a3d1dd038628585ea19a369d695 (diff)
parentb44510800b74cbb136abe7a30f3f3f6dc32aadb6 (diff)
downloadlibcxx-bb40acda2bbb110f1bbdc3e9b71e755532edbd02.tar.gz
Build sdk variants of libc++ for riscv64 am: 69c72cf1ae am: b44510800b
Original change: https://android-review.googlesource.com/c/platform/external/libcxx/+/2404996 Change-Id: Iccd541a99cb23370c16c9621867452af8b243fb4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 648a7dfde..519101739 100644
--- a/Android.bp
+++ b/Android.bp
@@ -96,6 +96,10 @@ cc_library_static {
],
// being part of updatable apexes, this should work on older releases
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",
native_bridge_supported: true,
srcs: [
"src/algorithm.cpp",
@@ -161,6 +165,10 @@ cc_library_shared {
],
// being part of updatable apexes, this should work on older releases
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",
whole_static_libs: ["libc++_static"],
stl: "none",