mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Bazel/CMake: drop confusing _INTERNAL_TRANSITION suffix
This commit is contained in:
@@ -22,7 +22,11 @@ CmakeInfo = provider(
|
||||
)
|
||||
|
||||
def _cmake_name(label):
|
||||
return ("%s_%s_%s" % (label.workspace_name, label.package, label.name)).replace("/", "_")
|
||||
ret = ("%s_%s_%s" % (label.workspace_name, label.package, label.name)).replace("/", "_")
|
||||
internal_transition_suffix = "_INTERNAL_TRANSITION"
|
||||
if ret.endswith(internal_transition_suffix):
|
||||
ret = ret[:-len(internal_transition_suffix)]
|
||||
return ret
|
||||
|
||||
def _cmake_file(file):
|
||||
if not file.is_source:
|
||||
|
||||
Reference in New Issue
Block a user