1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
package_group(
name = "packages",
packages = ["//src/java_tools/buildjar/..."],
)
package(default_visibility = [":packages"])
java_library(
name = "javac_turbine",
srcs = ["JavacTurbine.java"],
deps = [
":javac_turbine_compile_request",
":javac_turbine_compile_result",
":javac_turbine_compiler",
":zip_util",
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar:JarOwner",
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar:javac_options",
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins:dependency",
"//third_party:asm",
"//third_party:guava",
"//third_party:jsr305",
"//third_party:turbine",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
java_library(
name = "javac_turbine_compile_request",
srcs = ["JavacTurbineCompileRequest.java"],
deps = [
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins:dependency",
"//third_party:guava",
"//third_party:jsr305",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
java_library(
name = "javac_turbine_compile_result",
srcs = ["JavacTurbineCompileResult.java"],
deps = [
"//third_party:guava",
"//third_party:jsr305",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
java_library(
name = "javac_turbine_compiler",
srcs = ["JavacTurbineCompiler.java"],
deps = [
":javac_turbine_compile_request",
":javac_turbine_compile_result",
":javac_turbine_java_compiler",
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins:dependency",
"//third_party:guava",
"//third_party:jimfs",
"//third_party:jsr305",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
java_library(
name = "javac_turbine_java_compiler",
srcs = ["JavacTurbineJavaCompiler.java"],
deps = [
":javac_turbine_compile_request",
":tree_pruner",
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/javac/plugins:dependency",
"//third_party:jsr305",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
java_library(
name = "zip_util",
srcs = ["ZipUtil.java"],
deps = [
"//third_party:jsr305",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
java_library(
name = "tree_pruner",
srcs = ["TreePruner.java"],
deps = [
"//third_party:guava",
"//third_party:jsr305",
"//third_party/java/jdk/langtools:javac-9-dev-r4023-1",
],
)
filegroup(
name = "srcs",
srcs = glob(["**"]),
visibility = ["//src/java_tools/buildjar/java/com/google/devtools/build/java/turbine:__pkg__"],
)
|