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: Id9f1d357436f6a78c4e9500d9a14dcebe0a09980
diff --git a/Android.bp b/Android.bp
index 8f1a364..8e9d54e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -60,6 +60,7 @@
java_library {
name: "bouncycastle",
defaults: ["bouncycastle-defaults"],
+ installable: true,
static_libs: ["bouncycastle-unbundled"],
no_framework_libs: true,
@@ -78,6 +79,7 @@
java_library {
name: "bouncycastle-testdex",
defaults: ["bouncycastle-defaults"],
+ installable: true,
static_libs: ["bouncycastle-unbundled"],
no_framework_libs: true,