Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce7c4de

Browse files
Googlerlaszlocsomor
authored andcommitted
Add an experimental flag to Turbine to indicate to annotation processors that they are running in hjar compilation
-- PiperOrigin-RevId: 145413255 MOS_MIGRATED_REVID=145413255
1 parent 4bf8cc3 commit ce7c4de

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/java_tools/buildjar/java/com/google/devtools/build/java/turbine/javac

src/java_tools/buildjar/java/com/google/devtools/build/java/turbine/javac/JavacTurbine.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ Result compile() throws IOException {
154154
argbuilder.add("-processor");
155155
argbuilder.add(Joiner.on(',').join(turbineOptions.processors()));
156156
processorpath = asPaths(turbineOptions.processorPath());
157+
158+
// see b/31371210
159+
argbuilder.add("-Aexperimental_turbine_hjar");
157160
} else {
158161
processorpath = ImmutableList.of();
159162
}

0 commit comments

Comments
 (0)