Skip to content

Commit

Permalink
Merge pull request #4155 from nhelfman:master
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 615931858
  • Loading branch information
Copybara-Service committed Mar 14, 2024
2 parents dbfc7cd + 6b3f265 commit 6dbaceb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/com/google/javascript/jscomp/CommandLineRunner.java
Expand Up @@ -965,6 +965,20 @@ private static class Flags {
+ "stub functions in a parent chunk.")
private boolean assumeNoPrototypeMethodEnumeration = false;

@Option(
name = "--variable_map_input_file",
usage =
"File containing the serialized version of the variable "
+ "renaming map produced by a previous compilation")
private String variableMapInputFile = "";

@Option(
name = "--property_map_input_file",
usage =
"File containing the serialized version of the property "
+ "renaming map produced by a previous compilation")
private String propertyMapInputFile = "";

@Argument private List<String> arguments = new ArrayList<>();
private final CmdLineParser parser;

Expand Down Expand Up @@ -1760,6 +1774,8 @@ private void initConfigFromFlags(String[] args, PrintStream out, PrintStream err
.setVariableMapOutputFile(flags.variableMapOutputFile)
.setCreateNameMapFiles(flags.createNameMapFiles)
.setPropertyMapOutputFile(flags.propertyMapOutputFile)
.setPropertyMapInputFile(flags.propertyMapInputFile)
.setVariableMapInputFile(flags.variableMapInputFile)
.setInstrumentationMappingFile(flags.instrumentationMappingOutputFile)
.setCodingConvention(conv)
.setSummaryDetailLevel(flags.summaryDetailLevel)
Expand Down

0 comments on commit 6dbaceb

Please sign in to comment.