blob: 0e33fddcde075e99388f01eb2485b5f8ff781b79 [file] [log] [blame]
Mathew Inwoodbad89e52018-06-28 14:12:10 +01001
Colin Crossa1f8e1a2019-01-21 21:45:20 -08002java_plugin {
Mathew Inwoodbad89e52018-06-28 14:12:10 +01003 name: "unsupportedappusage-annotation-processor",
Colin Crossa1f8e1a2019-01-21 21:45:20 -08004 processor_class: "android.processor.unsupportedappusage.UnsupportedAppUsageProcessor",
5
Mathew Inwoodbad89e52018-06-28 14:12:10 +01006 java_resources: [
7 "META-INF/**/*",
8 ],
9 srcs: [
10 "src/**/*.java",
11 ],
12 static_libs: [
13 "guava",
14 "unsupportedappusage-annotation"
15 ],
Tobias Thierer8fb36152018-09-06 17:30:28 +010016 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 Inwoodbad89e52018-06-28 14:12:10 +010026 use_tools_jar: true,
27}