Merge "Instrument the java_sdk_library implementation library"

This commit is contained in:
Paul Duffin
2020-06-19 18:20:28 +00:00
committed by Gerrit Code Review

View File

@@ -1088,9 +1088,12 @@ func (module *SdkLibrary) createImplLibrary(mctx android.DefaultableHookContext)
props := struct {
Name *string
Visibility []string
Instrument bool
}{
Name: proptools.StringPtr(module.implLibraryModuleName()),
Visibility: module.sdkLibraryProperties.Impl_library_visibility,
// Set the instrument property to ensure it is instrumented when instrumentation is required.
Instrument: true,
}
properties := []interface{}{