diff options
author | lberki <lberki@google.com> | 2018-04-12 00:13:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-12 00:15:30 -0700 |
commit | 0c9f2d4c15b761e3f3b863658b6d5c65bde6db22 (patch) | |
tree | f9281e578d394f5866711b82d78d84ffc352d925 /src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java | |
parent | 2f963277f8730be27ae1019145db30519023095b (diff) |
Remove WorkerTestStrategy and with it, BuildConfiguration.Fragment#compatibleWithStrategy().
The experiment did not work out.
RELNOTES: None.
PiperOrigin-RevId: 192567832
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java index 0c90727f0f..de75806810 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaConfiguration.java @@ -332,14 +332,6 @@ public final class JavaConfiguration extends Fragment { globalMakeEnvBuilder.put("JAVA_TRANSLATIONS", buildTranslations() ? "1" : "0"); } - @Override - public boolean compatibleWithStrategy(String strategyName) { - if (strategyName.equals("experimental_worker")) { - return explicitJavaTestDeps() && useExperimentalTestRunner(); - } - return true; - } - /** * Returns true iff Java compilation should use ijars. */ |