Only store what's used in SharedLibraryInfo
There was a reference to the static library provider, but only the transitive static deps were used, so only store that part. Other members were stored but unused anywhere. Test: go test soong tests Test: m nothing Change-Id: I12a6b94806c052c3f0df3cab0a10f17042af1c38
This commit is contained in:
@@ -503,9 +503,8 @@ func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps Pa
|
||||
|
||||
if library.shared() {
|
||||
ctx.SetProvider(cc.SharedLibraryInfoProvider, cc.SharedLibraryInfo{
|
||||
SharedLibrary: outputFile,
|
||||
UnstrippedSharedLibrary: outputFile,
|
||||
Target: ctx.Target(),
|
||||
SharedLibrary: outputFile,
|
||||
Target: ctx.Target(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user