Propagate unique_host_soname to cc_library prebuilts.
Test: m nothing Test: Check on go/Android.bp that cc_prebuilt_library supports unique_host_soname Bug: 158743135 Change-Id: Ie02a5cae057fb9092c226d8c5b7f63e1f66ad066
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user