Merge "Change java_test_host to support cov variant." into main am: 0bf0865f83
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2776007 Change-Id: I0c5a1a2c60d486b0b3b91613fa83cf0c4c20cfe7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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