Merge "Change java_test_host to support cov variant." into main
This commit is contained in:
@@ -1087,6 +1087,10 @@ func (j *JavaTestImport) InstallInTestcases() bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (j *TestHost) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
|
||||||
|
return ctx.DeviceConfig().NativeCoverageEnabled()
|
||||||
|
}
|
||||||
|
|
||||||
func (j *TestHost) addDataDeviceBinsDeps(ctx android.BottomUpMutatorContext) {
|
func (j *TestHost) addDataDeviceBinsDeps(ctx android.BottomUpMutatorContext) {
|
||||||
if len(j.testHostProperties.Data_device_bins_first) > 0 {
|
if len(j.testHostProperties.Data_device_bins_first) > 0 {
|
||||||
deviceVariations := ctx.Config().AndroidFirstDeviceTarget.Variations()
|
deviceVariations := ctx.Config().AndroidFirstDeviceTarget.Variations()
|
||||||
|
Reference in New Issue
Block a user