Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cc/common/cc_helper_internal.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def root_relative_path(file):
(str) The root-relative path of the file.
"""
if not file.is_source:
return paths.relativize(file.path, file.root.path)
return file.path[len(file.root.path) + 1:]
short_path = file.short_path
if not short_path.startswith("../"):
return short_path
Expand Down