summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2018-12-06 10:24:43 +0000
committerNeil Fuller <nfuller@google.com>2018-12-06 10:26:40 +0000
commit87f721d6136d5c6c5e2a34067f9ad58401c8f51e (patch)
treeb596236e879528cdfdc5d17c7c448e224218c593
parent8a4884e2f01955357fe96a1210692230464ee5fe (diff)
downloadapache-xml-87f721d6136d5c6c5e2a34067f9ad58401c8f51e.tar.gz
Add a -testdex target for apache-xml on device
Add an apache-xml-testdex target for apache-xml on device that can be used by vogar with "--mode device". Bug: 120526172 Test: build only Change-Id: Ic67259796e2c8d852c4753ce0d021dac0864d045
-rw-r--r--Android.bp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ddcebd0..6535c2c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -37,3 +37,18 @@ java_library {
libs: ["core-all"],
system_modules: "core-all-system-modules",
}
+
+// A guaranteed unstripped version of apache-xml for use on device.
+// The build system may or may not strip the apache-xml jar, but this one will
+// not be stripped. See b/24535627.
+java_library {
+ name: "apache-xml-testdex",
+ static_libs: ["apache-xml"],
+
+ installable: true,
+ dex_preopt: {
+ enabled: false,
+ },
+
+ no_framework_libs: true,
+}