Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 1 | |
Colin Cross | a1f8e1a | 2019-01-21 21:45:20 -0800 | [diff] [blame^] | 2 | java_plugin { |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 3 | name: "unsupportedappusage-annotation-processor", |
Colin Cross | a1f8e1a | 2019-01-21 21:45:20 -0800 | [diff] [blame^] | 4 | processor_class: "android.processor.unsupportedappusage.UnsupportedAppUsageProcessor", |
| 5 | |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 6 | java_resources: [ |
| 7 | "META-INF/**/*", |
| 8 | ], |
| 9 | srcs: [ |
| 10 | "src/**/*.java", |
| 11 | ], |
| 12 | static_libs: [ |
| 13 | "guava", |
| 14 | "unsupportedappusage-annotation" |
| 15 | ], |
Tobias Thierer | 8fb3615 | 2018-09-06 17:30:28 +0100 | [diff] [blame] | 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 | |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 26 | use_tools_jar: true, |
| 27 | } |