Advertise CcInfo provider (#1095)
This commit is contained in:
parent
60813d57a0
commit
14ded03b9c
|
@ -54,6 +54,7 @@ boost_build = rule(
|
|||
attrs = _attrs(),
|
||||
fragments = CC_EXTERNAL_RULE_FRAGMENTS,
|
||||
output_to_genfiles = True,
|
||||
provides = [CcInfo],
|
||||
implementation = _boost_build_impl,
|
||||
toolchains = [
|
||||
"@rules_foreign_cc//foreign_cc/private/framework:shell_toolchain",
|
||||
|
|
|
@ -418,6 +418,7 @@ cmake = rule(
|
|||
"@rules_foreign_cc//foreign_cc/private/framework:shell_toolchain",
|
||||
"@bazel_tools//tools/cpp:toolchain_type",
|
||||
],
|
||||
provides = [CcInfo],
|
||||
# TODO: Remove once https://github.com/bazelbuild/bazel/issues/11584 is closed and the min supported
|
||||
# version is updated to a release of Bazel containing the new default for this setting.
|
||||
incompatible_use_toolchain_transition = True,
|
||||
|
|
|
@ -125,6 +125,7 @@ make = rule(
|
|||
attrs = _attrs(),
|
||||
fragments = CC_EXTERNAL_RULE_FRAGMENTS,
|
||||
output_to_genfiles = True,
|
||||
provides = [CcInfo],
|
||||
implementation = _make,
|
||||
toolchains = [
|
||||
"@rules_foreign_cc//toolchains:make_toolchain",
|
||||
|
|
|
@ -149,6 +149,7 @@ meson = rule(
|
|||
attrs = _attrs(),
|
||||
fragments = CC_EXTERNAL_RULE_FRAGMENTS,
|
||||
output_to_genfiles = True,
|
||||
provides = [CcInfo],
|
||||
implementation = _meson_impl,
|
||||
toolchains = [
|
||||
"@rules_foreign_cc//toolchains:meson_toolchain",
|
||||
|
|
|
@ -111,6 +111,7 @@ ninja = rule(
|
|||
attrs = _attrs(),
|
||||
fragments = CC_EXTERNAL_RULE_FRAGMENTS,
|
||||
output_to_genfiles = True,
|
||||
provides = [CcInfo],
|
||||
implementation = _ninja_impl,
|
||||
toolchains = [
|
||||
"@rules_foreign_cc//toolchains:ninja_toolchain",
|
||||
|
|
Loading…
Reference in New Issue