Mark installable jars with installable: true
Most jars don't need to be installed on the device. Instead of
using java_library and java_library_static to distinguish between
them make java_library and java_library_static identical and use
installable: true to identify the few jars that need to be dexed
and installed on the device.
Bug: 110885583
Test: m checkbuild
Change-Id: I7e8208afacaef3ab03759a797cec5a1bbd8032c7
diff --git a/Android.bp b/Android.bp
index ffa5a3c..ee0baa3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -177,6 +177,7 @@
java_library {
name: "conscrypt",
host_supported: true,
+ installable: true,
hostdex: true,
no_framework_libs: true,
static_libs: ["conscrypt-nojarjar"],
@@ -193,6 +194,7 @@
// not be stripped. See b/24535627.
java_library {
name: "conscrypt-testdex",
+ installable: true,
no_framework_libs: true,
required: ["libjavacrypto"],
static_libs: ["conscrypt-nojarjar"],