diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java index f3db244406e56b..0b7ca22edc7467 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelStrategyModule.java @@ -70,6 +70,7 @@ public void executorInit(CommandEnvironment env, BuildRequest request, ExecutorB builder.addStrategyByMnemonic("Javac", ImmutableList.of("worker")); builder.addStrategyByMnemonic("Closure", ImmutableList.of("worker")); builder.addStrategyByMnemonic("DexBuilder", ImmutableList.of("worker")); + builder.addStrategyByMnemonic("Desugar", ImmutableList.of("worker")); // The --spawn_strategy= flag is a bit special: If it's set to the empty string, we actually // have to pass a literal empty string to the builder to trigger the "use the strategy that