Skip to content

Commit

Permalink
Delete experimental_persistent_javac flag
Browse files Browse the repository at this point in the history
We're looking to cut back on the number of flags, this one doesn't see
much/any use besides https://github.com/google/j2cl/blob/master/.bazelrc,
which can easily be replaced with a config expansion.

At the same time we're looking to improve the introspectability of
commandlines, specifically around workers, which this bazel-internal expansion
obscures.

PiperOrigin-RevId: 492481856
Change-Id: I27f28a3fd4d0d90c86d9c661ed7c9312cf851644
  • Loading branch information
michajlo authored and copybara-github committed Dec 2, 2022
1 parent fa0b2d0 commit 7fe8fa2
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,6 @@
public class WorkerOptions extends OptionsBase {
public static final WorkerOptions DEFAULTS = Options.getDefaults(WorkerOptions.class);

@Option(
name = "experimental_persistent_javac",
defaultValue = "null",
documentationCategory = OptionDocumentationCategory.EXECUTION_STRATEGY,
effectTags = {OptionEffectTag.EXECUTION, OptionEffectTag.HOST_MACHINE_RESOURCE_OPTIMIZATIONS},
help = "Enable the experimental persistent Java compiler.",
expansion = {
"--strategy=Javac=worker",
"--strategy=JavaIjar=local",
"--strategy=JavaDeployJar=local",
"--strategy=JavaSourceJar=local",
"--strategy=Turbine=local"
})
public Void experimentalPersistentJavac;

/**
* Defines a resource converter for named values in the form [name=]value, where the value is
* {@link ResourceConverter.FLAG_SYNTAX}. If no name is provided (used when setting a default),
Expand Down

0 comments on commit 7fe8fa2

Please sign in to comment.