Merge "Set download_tmp_dir explicitly to be a directory under the output directory." into udc-mainline-prod
diff --git a/java/java.go b/java/java.go
index 5e640bc..9161b22 100644
--- a/java/java.go
+++ b/java/java.go
@@ -1059,6 +1059,10 @@
return true
}
+func (j *TestHost) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
+ return ctx.DeviceConfig().NativeCoverageEnabled()
+}
+
func (j *TestHost) addDataDeviceBinsDeps(ctx android.BottomUpMutatorContext) {
if len(j.testHostProperties.Data_device_bins_first) > 0 {
deviceVariations := ctx.Config().AndroidFirstDeviceTarget.Variations()