Skip to content

Commit

Permalink
Intern strings for python zip runfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
glukasiknuro committed Feb 23, 2022
1 parent 841c04a commit 0610f23
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,10 @@ private static void createPythonZipAction(
for (Artifact artifact : runfilesSupport.getRunfilesArtifacts().toList()) {
if (!artifact.equals(executable) && !artifact.equals(zipFile)) {
argv.addDynamicString(
getZipRunfilesPath(artifact.getRunfilesPath(), workspaceName, legacyExternalRunfiles)
+ "="
+ artifact.getExecPathString());
(getZipRunfilesPath(artifact.getRunfilesPath(), workspaceName, legacyExternalRunfiles)
+ "="
+ artifact.getExecPathString())
.intern());
inputsBuilder.add(artifact);
}
}
Expand Down

0 comments on commit 0610f23

Please sign in to comment.