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
|
package(default_visibility = ["//visibility:public"])
filegroup(
name = "jni_header",
srcs = ["//external:jni_header"],
)
filegroup(
name = "jni_md_header-darwin",
srcs = ["//external:jni_md_header-darwin"],
)
filegroup(
name = "jni_md_header-linux",
srcs = ["//external:jni_md_header-linux"],
)
filegroup(
name = "java",
srcs = ["//external:java"],
)
BOOTCLASS_JARS = [
"rt.jar",
"resources.jar",
"jsse.jar",
"jce.jar",
"charsets.jar",
]
filegroup(
name = "bootclasspath",
srcs = ["//external:bootclasspath"],
)
filegroup(
name = "extdir",
srcs = ["//external:extdir"],
)
filegroup(
name = "langtools",
srcs = ["//external:langtools"],
)
java_import(
name = "langtools-neverlink",
jars = ["//tools/defaults:java_langtools"],
neverlink = 1,
)
# This one is just needed because of how filegroup redirection works.
filegroup(name = "jdk-null")
filegroup(
name = "jdk",
srcs = [
":jdk-null",
"//external:jdk-default",
],
)
java_toolchain(
name = "toolchain",
encoding = "UTF-8",
source_version = "8",
target_version = "8",
)
exports_files([
"JavaBuilder_deploy.jar",
"ijar",
"SingleJar_deploy.jar",
])
filegroup(
name = "srcs",
srcs = ["BUILD"], # Tools are build from the workspace for tests.
)
|