Skip libcronet dependency for riscv64.
There is no riscv64 prebuilt for cronet, skip the JNI library dependency
to avoid broken riscv64 builds.
Test: lunch aosp_riscv64-userdebug && m droid dist
Change-Id: I652fa9db48a71c036dba665db515f15d6014f162
diff --git a/Cronet/apex/Android.bp b/Cronet/apex/Android.bp
index 64362da..5f6fa3e 100644
--- a/Cronet/apex/Android.bp
+++ b/Cronet/apex/Android.bp
@@ -32,6 +32,12 @@
name: "CronetApexDefaultsEnabled",
jni_libs: ["libcronet.80.0.3986.0"],
java_libs: ["framework-cronet"],
+ arch: {
+ riscv64: {
+ // TODO: remove this when there is a riscv64 libcronet
+ exclude_jni_libs: ["libcronet.80.0.3986.0"],
+ },
+ },
}
apex_defaults {