IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/LibraryToLink
You can read about the migration, and let us know what you think.
Extensions >
API reference >
LibraryToLink
LibraryToLink
A library the user can link against.Members
alwayslink
bool LibraryToLink.alwayslinkWhether to link the static library/objects in the --whole_archive block.
dynamic_library
File LibraryToLink.dynamic_library
Artifact
of dynamic library to be linked. Always used for runtime and used for linking if interface_library
is not passed.
May return None
.
interface_library
File LibraryToLink.interface_library
Artifact
of interface library to be linked.
May return None
.
lto_bitcode_files
sequence LibraryToLink.lto_bitcode_files
List
of LTO bitcode files in the library.
May return None
.
objects
sequence LibraryToLink.objects
List
of object files in the library.
May return None
.
pic_lto_bitcode_files
sequence LibraryToLink.pic_lto_bitcode_files
List
of pic LTO bitcode files in the library.
May return None
.
pic_objects
sequence LibraryToLink.pic_objects
List
of pic object files in the library.
May return None
.
pic_static_library
File LibraryToLink.pic_static_library
Artifact
of pic static library to be linked.
May return None
.
resolved_symlink_dynamic_library
File LibraryToLink.resolved_symlink_dynamic_libraryThe resolved
Artifact
of the dynamic library to be linked if dynamic_library
is a symlink, otherwise this is None.
May return None
.
resolved_symlink_interface_library
File LibraryToLink.resolved_symlink_interface_libraryThe resolved
Artifact
of the interface library to be linked if interface_library
is a symlink, otherwise this is None.
May return None
.
static_library
File LibraryToLink.static_library
Artifact
of static library to be linked.
May return None
.