Make remove_j2cl_asserts flag available on open-source.
This was missed earlier when remove_j2cl_asserts flag was added.
@@ -665,6 +665,12 @@ public class CommandLineRunner extends
)
private String j2clPassMode = "AUTO";
+ @Option(
+ name = "--remove_j2cl_asserts",
+ hidden = true,
+ usage = "Remove calls to J2CL assertions.")
+ private boolean removeJ2cLAsserts = true;
+
@Option(
name = "--output_manifest",
usage =
@@ -1873,6 +1879,8 @@ public class CommandLineRunner extends
}
}
+ options.removeJ2clAsserts = flags.removeJ2cLAsserts;
+
options.renamePrefix = flags.renamePrefix;
options.renamePrefixNamespace = flags.renamePrefixNamespace;
