2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-30 16:42:07 +00:00
rules_foreign_cc/foreign_cc/providers.bzl
2022-07-27 16:46:15 +00:00

26 lines
1 KiB
Python

""" A module containing all public facing providers """
ForeignCcDepsInfo = provider(
doc = """Provider to pass transitive information about external libraries.""",
fields = {
"artifacts": "Depset of ForeignCcArtifactInfo",
},
)
ForeignCcArtifactInfo = provider(
doc = """Groups information about the external library install directory,
and relative bin, include and lib directories.
Serves to pass transitive information about externally built artifacts up the dependency chain.
Can not be used as a top-level provider.
Instances of ForeignCcArtifactInfo are encapsulated in a depset [ForeignCcDepsInfo::artifacts](#ForeignCcDepsInfo-artifacts).""",
fields = {
"bin_dir_name": "Bin directory, relative to install directory",
"dll_dir_name": "DLL directory, relative to install directory",
"gen_dir": "Install directory",
"include_dir_name": "Include directory, relative to install directory",
"lib_dir_name": "Lib directory, relative to install directory",
},
)