Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
d77c064ecc096fd6943a57322b94eaf2c06fa6a7
/
.
/
tools
/
build_rules
/
label.bzl
blob: 1382e1a4295848c823fbeb070064798679855394 [
file
] [
log
] [
blame
]
# This file provides any necessary label abstractions since it doesn't seem like
# Starlark provides them itself
def
expand_label
(
label
):
return
"%s"
%
label
if
":"
in
label
else
"%s:%s"
%
(
label
,
label
.
split
(
"/"
)[-
1
])