Runfiles propagation for cc_shared_library
#25971
bd-tkoolen
started this conversation in
General
Replies: 1 comment 1 reply
-
/cc @oquenchil |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While trying to switch from the
cc_binary(..., linkshared = 1)
way of creating standalone shared libraries to using thecc_shared_library
rule, I noticed thatcc_shared_library
doesn't propagate the runfiles from itsdeps
likecc_binary
does.Here is a sketch:
If I comment out
data = [":cc_shared_lib"],
and uncommentdata = [":cc_bin"],
in thesh_binary
andbazel run
it,data.txt
appears in the runfiles, which wasn't present with just thecc_shared_lib
dependency.Is this an intentional design? If so, what is the reason behind it?
Beta Was this translation helpful? Give feedback.
All reactions