aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-11-01 09:16:06 -0700
committerColin Cross <ccross@android.com>2022-11-01 09:16:06 -0700
commit5a418bcd901bc0e30e46dba06c542b1ca9cfa106 (patch)
treed5c2e74872927e35e5fae5ece8c1d5363d47734a
parent1c351b7e8dec51991fb1cee94ea0fcb3544c39da (diff)
downloadllvm-5a418bcd901bc0e30e46dba06c542b1ca9cfa106.tar.gz
Disable VNDK and LLNDK renderscript libraries for riscv64
Renderscript does not support riscv64, disable the libraries that are in the VNDK and LLNDK for riscv64 so that they don't break the `m droid` build. Test: lunch aosp_riscv64-userdebug && m droid Change-Id: I8d9ff186b4946ce49169500f28f5d1f343f61255
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index cbc59cb04a2d..4189f3073ca5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -53,6 +53,11 @@ cc_defaults {
sanitize: {
hwaddress: false, // code size b/112437884
},
+ arch: {
+ riscv64: {
+ enabled: false,
+ },
+ },
}
// This module defines all of the defaults used to compiled llvm, except for