Merge "convert Dynamic_list property" am: 5b75bf1d7e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2078468 Change-Id: I9bf7b93f4b71f45abb54dfb7be1484b8a9fa2fe9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
be2d27b673
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