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_inputs

Returns the depset of additional inputs, e.g.: linker scripts.

libraries

sequence LinkerInput.libraries

Returns the depset of LibraryToLink. May return a list but this is deprecated. See #8118.

owner

Label LinkerInput.owner

Returns the owner of this LinkerInput.

sequence LinkerInput.user_link_flags

Returns the list of user link flags passed as strings.