summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-04-24 13:19:28 -0700
committerColin Cross <ccross@android.com>2019-04-24 13:19:28 -0700
commit9a4abed70189ae321a59ec49e812e83ea938affc (patch)
tree9811183de3fb5a044ecf79a15e2c7bdd6b96cf1f /java/java.go
parente8a7dc987c74fb7f84705d908ba73eb9cbf577c3 (diff)
Make java_test_helper_library installable
java_test_helper_library should product an installabler, dexed library, the same as java_test just without the auto-generated test config. Test: m checkbuild Change-Id: Ie573c1d24969ba9c4feb8a2e85f8969d5d713064
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index d6c759b45..fac28ed0d 100644
--- a/java/java.go
+++ b/java/java.go
@@ -1632,6 +1632,9 @@ func TestHelperLibraryFactory() android.Module {
&module.Module.protoProperties,
&module.testHelperLibraryProperties)
+ module.Module.properties.Installable = proptools.BoolPtr(true)
+ module.Module.dexpreopter.isTest = true
+
InitJavaModule(module, android.HostAndDeviceSupported)
return module
}