summaryrefslogtreecommitdiff
path: root/common/asm
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-12-21 13:55:03 -0800
committerColin Cross <ccross@android.com>2017-12-21 13:55:57 -0800
commit3aed2aabe1af6fee1499c79756aff3438ff13a70 (patch)
tree26b42204221109124fd87583156ef47c42980baf /common/asm
parent586cac19b73e39cd98817d8a74861cbd170b66f7 (diff)
downloadmisc-3aed2aabe1af6fee1499c79756aff3438ff13a70.tar.gz
Export asm-6.0 as device modules
jacocoagent unnecessarily includes asm, export the prebuilts as device modules for now. Bug: 69671801 Test: m checkbuild Change-Id: I1d9c9efc47100552b4ecdecea08cebb47c2c3937
Diffstat (limited to 'common/asm')
-rw-r--r--common/asm/Android.bp14
1 files changed, 10 insertions, 4 deletions
diff --git a/common/asm/Android.bp b/common/asm/Android.bp
index 1256551a..be4304ff 100644
--- a/common/asm/Android.bp
+++ b/common/asm/Android.bp
@@ -32,23 +32,29 @@ java_import_host {
jars: ["asm-tree-5.2.jar"],
}
-java_import_host {
+// These should be host-only, since there is no bytecode on the device to be
+// parsed with ASM, but jacocoagent currently needs them to compile (b/69671801)
+java_import {
name: "asm-6.0",
+ host_supported: true,
jars: ["asm-6.0.jar"],
}
-java_import_host {
+java_import {
name: "asm-analysis-6.0",
+ host_supported: true,
jars: ["asm-analysis-6.0.jar"],
}
-java_import_host {
+java_import {
name: "asm-commons-6.0",
+ host_supported: true,
jars: ["asm-commons-6.0.jar"],
}
-java_import_host {
+java_import {
name: "asm-tree-6.0",
+ host_supported: true,
jars: ["asm-tree-6.0.jar"],
}