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/docs/providers.md
2021-06-20 15:25:43 -07:00

1.7 KiB

A module containing all public facing providers

ForeignCcArtifactInfo

ForeignCcArtifactInfo(bin_dir_name, gen_dir, include_dir_name, lib_dir_name)

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.

FIELDS

Name Description
bin_dir_name Bin 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

ForeignCcDepsInfo

ForeignCcDepsInfo(artifacts)

Provider to pass transitive information about external libraries.

FIELDS

Name Description
artifacts Depset of ForeignCcArtifactInfo