LinkingContext
Immutable store of information needed for C++ linking that is aggregated across dependencies.additional_inputs
depset LinkingContext.additional_inputsDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
--incompatible_require_linker_input_cc_api
. Use this flag to verify your code is compatible with its imminent removal. Returns the depset of additional inputs, e.g.: linker scripts.
libraries_to_link
unknown LinkingContext.libraries_to_linkDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
--incompatible_require_linker_input_cc_api
. Use this flag to verify your code is compatible with its imminent removal. Returns the depset of
LibraryToLink
. May return a list but this isdeprecated. See #8118.
linker_inputs
depset LinkingContext.linker_inputsReturns the depset of linker inputs.
user_link_flags
sequence LinkingContext.user_link_flagsDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
--incompatible_require_linker_input_cc_api
. Use this flag to verify your code is compatible with its imminent removal. Returns the list of user link flags passed as strings.