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

Commit 8dcc5f99 authored by Tobias Thierer's avatar Tobias Thierer Committed by android-build-merger
Browse files

Merge "Fix compilation when targeting OpenJDK 9." am: 0d2f465e am: e03a757d

am: 084d8365

Change-Id: I628c836ce87bde417f7cba64cf4bb20e206bc835
parents ee31cb32 084d8365
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -11,5 +11,15 @@ java_library_host {
        "guava",
        "unsupportedappusage-annotation"
    ],
    openjdk9: {
        javacflags: [
            "--add-modules=jdk.compiler",
            "--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
            "--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED",
            "--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
            "--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
        ],
    },

    use_tools_jar: true,
}