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
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.google.devtools.build.lib.actions.Artifact;
import com.google.devtools.build.lib.actions.InputMetadataProvider;
import com.google.devtools.build.lib.actions.PathMapper;
import com.google.devtools.build.lib.cmdline.Label;
import com.google.devtools.build.lib.collect.nestedset.Depset;
import com.google.devtools.build.lib.collect.nestedset.NestedSet;
import com.google.devtools.build.lib.concurrent.BlazeInterners;
Expand Down Expand Up @@ -828,6 +829,7 @@ private static VariableValue asVariableValue(Object o) {
case NoneType ignored -> null; // null has the same behavior as omitted field
case Boolean b -> BooleanValue.of(b);
case String s -> new StringValue(s);
case Label label -> new StringValue(label.expandToCommandLine());
case Artifact artifact -> new ArtifactValue(artifact);
case PathFragment pathFragment -> new PathFragmentValue(pathFragment);
case Iterable<?> iterable -> new Sequence(ImmutableList.copyOf(iterable));
Expand Down