Merge "Instrument the java_sdk_library implementation library" am: 333cb9ea44 am: 076ff4db08

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1343578

Change-Id: I21aced434112c564b770feba6e6aa714db50ea4e
This commit is contained in:
Paul Duffin 2020-06-19 18:42:32 +00:00 committed by Automerger Merge Worker
commit e20f474e55
1 changed files with 3 additions and 0 deletions

View File

@ -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{}{