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:
Liz Kammer
2021-06-08 15:37:09 -04:00
parent 5831f70dab
commit ef6dfea679
8 changed files with 23 additions and 31 deletions

View File

@@ -305,14 +305,13 @@ func HeaderDepTag() blueprint.DependencyTag {
// SharedLibraryInfo is a provider to propagate information about a shared C++ library.
type SharedLibraryInfo struct {
SharedLibrary android.Path
UnstrippedSharedLibrary android.Path
Target android.Target
SharedLibrary android.Path
Target android.Target
TableOfContents android.OptionalPath
CoverageSharedLibrary android.OptionalPath
TableOfContents android.OptionalPath
StaticAnalogue *StaticLibraryInfo
// should be obtained from static analogue
TransitiveStaticLibrariesForOrdering *android.DepSet
}
var SharedLibraryInfoProvider = blueprint.NewProvider(SharedLibraryInfo{})