1 2java_plugin { 3 name: "unsupportedappusage-annotation-processor", 4 processor_class: "android.processor.unsupportedappusage.UnsupportedAppUsageProcessor", 5 6 java_resources: [ 7 "META-INF/**/*", 8 ], 9 srcs: [ 10 "src/**/*.java", 11 ], 12 static_libs: [ 13 "guava", 14 "unsupportedappusage-annotation" 15 ], 16 openjdk9: { 17 javacflags: [ 18 "--add-modules=jdk.compiler", 19 "--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED", 20 "--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED", 21 "--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED", 22 "--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", 23 ], 24 }, 25 26 use_tools_jar: true, 27} 28