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: Ia70d55a9c916f8b0a9b2cec53e0ffcd682eaaa39
diff --git a/Android.bp b/Android.bp
index a2eaf6f..89ce35d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -18,6 +18,11 @@
"-Wno-unused-parameter",
"-Wno-unused-variable",
],
+ arch: {
+ riscv64: {
+ enabled: false,
+ },
+ },
}
cc_library_shared {
diff --git a/cpu_ref/Android.bp b/cpu_ref/Android.bp
index 6b4d855..32146e0 100644
--- a/cpu_ref/Android.bp
+++ b/cpu_ref/Android.bp
@@ -88,6 +88,9 @@
cflags: ["-DARCH_X86_HAVE_AVX2", "-mavx2", "-mfma"],
},
},
+ riscv64: {
+ enabled: false,
+ },
},
shared_libs: [