def METHOD_NAME(self):
    def to_cmake_target(item):
        if item.startswith("//"):
            return item[2:].replace("/", "_").replace(":", "_")
        return item
    return [to_cmake_target(it) for it in self.deps]