We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14268f3 commit 615a128Copy full SHA for 615a128
misc/bazel/cmake/cmake.bzl
@@ -51,7 +51,9 @@ def _get_includes(includes):
51
def _cmake_aspect_impl(target, ctx):
52
if not ctx.rule.kind.startswith("cc_"):
53
return [CmakeInfo(name = None, transitive_deps = depset())]
54
- if ctx.rule.kind == "cc_binary_add_features":
+
55
+ # TODO: remove cc_binary_add_features once we remove it from internal repo
56
+ if ctx.rule.kind in ("cc_binary_add_features", "_cc_add_features_binary", "_cc_add_features_test"):
57
dep = ctx.rule.attr.dep[0][CmakeInfo]
58
return [CmakeInfo(
59
name = None,
0 commit comments