Extensions > API reference > LinkingContext

LinkingContext

Immutable store of information needed for C++ linking that is aggregated across dependencies.

additional_inputs

depset LinkingContext.additional_inputs

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

unknown LinkingContext.libraries_to_link

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

sequence LinkingContext.user_link_flags

Returns the list of user link flags passed as strings.