Skip to content

Commit 6dbaceb

Browse files
Merge pull request #4155 from nhelfman:master
PiperOrigin-RevId: 615931858
2 parents dbfc7cd + 6b3f265 commit 6dbaceb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/com/google/javascript/jscomp/CommandLineRunner.java

+16
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,20 @@ private static class Flags {
965965
+ "stub functions in a parent chunk.")
966966
private boolean assumeNoPrototypeMethodEnumeration = false;
967967

968+
@Option(
969+
name = "--variable_map_input_file",
970+
usage =
971+
"File containing the serialized version of the variable "
972+
+ "renaming map produced by a previous compilation")
973+
private String variableMapInputFile = "";
974+
975+
@Option(
976+
name = "--property_map_input_file",
977+
usage =
978+
"File containing the serialized version of the property "
979+
+ "renaming map produced by a previous compilation")
980+
private String propertyMapInputFile = "";
981+
968982
@Argument private List<String> arguments = new ArrayList<>();
969983
private final CmdLineParser parser;
970984

@@ -1760,6 +1774,8 @@ private void initConfigFromFlags(String[] args, PrintStream out, PrintStream err
17601774
.setVariableMapOutputFile(flags.variableMapOutputFile)
17611775
.setCreateNameMapFiles(flags.createNameMapFiles)
17621776
.setPropertyMapOutputFile(flags.propertyMapOutputFile)
1777+
.setPropertyMapInputFile(flags.propertyMapInputFile)
1778+
.setVariableMapInputFile(flags.variableMapInputFile)
17631779
.setInstrumentationMappingFile(flags.instrumentationMappingOutputFile)
17641780
.setCodingConvention(conv)
17651781
.setSummaryDetailLevel(flags.summaryDetailLevel)

0 commit comments

Comments
 (0)