Skip to content

Commit cbff3db

Browse files
Googlerluispadron
authored andcommitted
Refactor linkstamps attr in compilation_support
Cherry-pick: 0bbd7c9
1 parent 5d81fdd commit cbff3db

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

apple/internal/compilation_support.bzl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -356,14 +356,9 @@ def _create_deduped_linkopts_linking_context(*, cc_linking_context, owner, seen_
356356
libraries = depset(linker_input.libraries),
357357
owner = linker_input.owner,
358358
user_link_flags = new_flags,
359+
linkstamps = depset(linker_input.linkstamps),
359360
))
360361

361-
# Why does linker_input not expose linkstamp? This needs to be fixed.
362-
linker_inputs.append(cc_common.create_linker_input(
363-
linkstamps = cc_linking_context.linkstamps(),
364-
owner = owner,
365-
))
366-
367362
return cc_common.create_linking_context(linker_inputs = depset(linker_inputs))
368363

369364
compilation_support = struct(

0 commit comments

Comments
 (0)