IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/LinkerInput
You can read about the migration, and let us know what you think.
Extensions >
API reference >
LinkerInput
LinkerInput
Either libraries, flags or other files that may be passed to the linker as inputs.additional_inputs
sequence LinkerInput.additional_inputsReturns the depset of additional inputs, e.g.: linker scripts.
libraries
sequence LinkerInput.librariesReturns the depset of
LibraryToLink
. May return a list but this is deprecated. See #8118.
owner
Label LinkerInput.ownerReturns the owner of this LinkerInput.
user_link_flags
sequence LinkerInput.user_link_flagsReturns the list of user link flags passed as strings.