Merge "convert Dynamic_list property" am: 5b75bf1d7e
am: be2d27b673
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2078468 Change-Id: I84461833e5a2f583d28297c4161ccd2dda952862 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
67982ef710
1 changed files with 7 additions and 0 deletions
|
@ -684,6 +684,13 @@ func (la *linkerAttributes) bp2buildForAxisAndConfig(ctx android.BazelConversion
|
|||
la.additionalLinkerInputs.SetSelectValue(axis, config, bazel.LabelList{Includes: []bazel.Label{label}})
|
||||
linkerFlags = append(linkerFlags, fmt.Sprintf("-Wl,--version-script,$(location %s)", label.Label))
|
||||
}
|
||||
|
||||
if props.Dynamic_list != nil {
|
||||
label := android.BazelLabelForModuleSrcSingle(ctx, *props.Dynamic_list)
|
||||
la.additionalLinkerInputs.SetSelectValue(axis, config, bazel.LabelList{Includes: []bazel.Label{label}})
|
||||
linkerFlags = append(linkerFlags, fmt.Sprintf("-Wl,--dynamic-list,$(location %s)", label.Label))
|
||||
}
|
||||
|
||||
la.linkopts.SetSelectValue(axis, config, linkerFlags)
|
||||
la.useLibcrt.SetSelectValue(axis, config, props.libCrt())
|
||||
|
||||
|
|
Loading…
Reference in a new issue