mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Bazel/CMake: small compatibility fix
This commit is contained in:
@@ -49,7 +49,7 @@ def _get_includes(includes):
|
||||
return [_cmake_path(i) for i in includes.to_list() if "/_virtual_includes/" not in i]
|
||||
|
||||
def _cmake_aspect_impl(target, ctx):
|
||||
if not ctx.rule.kind.startswith("cc_"):
|
||||
if not ctx.rule.kind.startswith(("cc_", "_cc_add_features")):
|
||||
return [CmakeInfo(name = None, transitive_deps = depset())]
|
||||
|
||||
# TODO: remove cc_binary_add_features once we remove it from internal repo
|
||||
|
||||
Reference in New Issue
Block a user