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 }