Merge "Propagate unique_host_soname to cc_library prebuilts."

This commit is contained in:
Treehugger Robot
2020-06-18 14:34:14 +00:00
committed by Gerrit Code Review
2 changed files with 88 additions and 0 deletions

View File

@@ -124,6 +124,14 @@ func (mt *librarySdkMemberType) AddPrebuiltModule(ctx android.SdkMemberContext,
if stl != nil {
pbm.AddProperty("stl", proptools.String(stl))
}
if lib, ok := ccModule.linker.(*libraryDecorator); ok {
uhs := lib.Properties.Unique_host_soname
if uhs != nil {
pbm.AddProperty("unique_host_soname", proptools.Bool(uhs))
}
}
return pbm
}