Move setting of link type properties to linkPropertyInfo am: f68f85a3ca
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826229 Change-Id: I9a74e301694ac151fa30b8e50e4e002aa267b964
This commit is contained in:
@@ -1608,8 +1608,7 @@ func (archInfo *archTypeSpecificInfo) addToPropertySet(ctx *memberContext, archP
|
|||||||
addSdkMemberPropertiesToSet(ctx, archInfo.Properties, archTypePropertySet)
|
addSdkMemberPropertiesToSet(ctx, archInfo.Properties, archTypePropertySet)
|
||||||
|
|
||||||
for _, linkInfo := range archInfo.linkInfos {
|
for _, linkInfo := range archInfo.linkInfos {
|
||||||
linkPropertySet := archTypePropertySet.AddPropertySet(linkInfo.linkType)
|
linkInfo.addToPropertySet(ctx, archTypePropertySet)
|
||||||
addSdkMemberPropertiesToSet(ctx, linkInfo.Properties, linkPropertySet)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1640,6 +1639,11 @@ func newLinkSpecificInfo(ctx android.SdkMemberContext, linkType string, variantP
|
|||||||
return linkInfo
|
return linkInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (l *linkTypeSpecificInfo) addToPropertySet(ctx *memberContext, propertySet android.BpPropertySet) {
|
||||||
|
linkPropertySet := propertySet.AddPropertySet(l.linkType)
|
||||||
|
addSdkMemberPropertiesToSet(ctx, l.Properties, linkPropertySet)
|
||||||
|
}
|
||||||
|
|
||||||
func (l *linkTypeSpecificInfo) String() string {
|
func (l *linkTypeSpecificInfo) String() string {
|
||||||
return fmt.Sprintf("LinkType{%s}", l.linkType)
|
return fmt.Sprintf("LinkType{%s}", l.linkType)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user