Skip to content

Commit

Permalink
Advertise CcInfo provider (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebzulawski committed Sep 19, 2023
1 parent 60813d5 commit 14ded03
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions foreign_cc/boost_build.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions foreign_cc/cmake.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions foreign_cc/make.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions foreign_cc/meson.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions foreign_cc/ninja.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 14ded03

Please sign in to comment.