cc_shared_library drops some exported linker inputs
c-parsons opened this issue · 0 comments
c-parsons commented
I've been tinkering with some dependencies of a cc_shared_library target in my project, and I found that some linker inputs were being dropped.
Why do these lines exist?
for linker_input in dependency_linker_inputs:
owner = str(linker_input.owner)
if owner in owners_seen:
continue
owners_seen[owner] = True
If one of the dependencies propagates more than one linker input, all linker inputs past the first one are dropped.
Was this by design?