Add an experimental flag to Turbine to indicate to annotation processors that they are running in hjar compilation
MOS_MIGRATED_REVID=145413255
@@ -154,6 +154,9 @@ public class JavacTurbine implements AutoCloseable {
argbuilder.add("-processor");
argbuilder.add(Joiner.on(',').join(turbineOptions.processors()));
processorpath = asPaths(turbineOptions.processorPath());
+
+ // see b/31371210
+ argbuilder.add("-Aexperimental_turbine_hjar");
} else {
processorpath = ImmutableList.of();
}
