Instrument the java_sdk_library implementation library
Bug: 159241638 Test: build jacoco-report-classes-all.jar with and without prebuilt for framework-tethering. Ensure it contains the jacoco-report-classes.jar for framework-tethering. Change-Id: I8183bd9613dfaf0ded5f9ac36567d5d29a8941e8 Merged-In: I8183bd9613dfaf0ded5f9ac36567d5d29a8941e8
This commit is contained in:
@@ -1091,9 +1091,12 @@ func (module *SdkLibrary) createImplLibrary(mctx android.DefaultableHookContext)
|
|||||||
props := struct {
|
props := struct {
|
||||||
Name *string
|
Name *string
|
||||||
Visibility []string
|
Visibility []string
|
||||||
|
Instrument bool
|
||||||
}{
|
}{
|
||||||
Name: proptools.StringPtr(module.implLibraryModuleName()),
|
Name: proptools.StringPtr(module.implLibraryModuleName()),
|
||||||
Visibility: module.sdkLibraryProperties.Impl_library_visibility,
|
Visibility: module.sdkLibraryProperties.Impl_library_visibility,
|
||||||
|
// Set the instrument property to ensure it is instrumented when instrumentation is required.
|
||||||
|
Instrument: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
properties := []interface{}{
|
properties := []interface{}{
|
||||||
|
Reference in New Issue
Block a user