Add code coverage support to android_app JNI libs.

Test: Built mainline module coverage data
Bug: 152117890
Change-Id: I47bf3e5d6e78c4518729bdb52616e248156d3cec
This commit is contained in:
Jaewoong Jung
2020-03-26 14:01:48 -07:00
parent 365d107dd3
commit 87a33e72bc
4 changed files with 51 additions and 8 deletions

View File

@@ -540,9 +540,10 @@ func (s sdkDep) hasFrameworkLibs() bool {
}
type jniLib struct {
name string
path android.Path
target android.Target
name string
path android.Path
target android.Target
coverageFile android.OptionalPath
}
func (j *Module) shouldInstrument(ctx android.BaseModuleContext) bool {