Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaee6ced authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Export javac classes" into main

parents 558cd71f fb8a239e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -31,6 +31,14 @@ java_library_host {
        "//external/auto:auto_service_annotations",
    ],

    javacflags: [
        // These exports are needed because this errorprone plugin access some private classes
        // of the java compiler.
        "--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
        "--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
        "--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
    ],

    plugins: [
        "//external/auto:auto_service_plugin",
    ],