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

am: e03a757d87

Change-Id: I4490207298bc72a8fdce6e20d569b30f3843b6c4
This commit is contained in:
Tobias Thierer
2018-09-06 12:54:15 -07:00
committed by android-build-merger

View File

@@ -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,
}