diff --git a/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java b/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java index 1230038174..c81d8bbeae 100644 --- a/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java +++ b/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java @@ -81,7 +81,7 @@ private static void preprocessFiles(List fileInfos, Path output, Probl // Write the processed file to output J2clUtils.writeToFile( - output.resolve(fileInfo.originalPath()), processedFileContent, problems); + output.resolve(fileInfo.targetPath()), processedFileContent, problems); } }