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
|
package(default_visibility = ["//visibility:private"])
exports_files(
["runfiles.sh"],
visibility = ["//visibility:public"],
)
filegroup(
name = "srcs",
srcs = glob(
["**"],
exclude = [".*"], # .swp files and such
) + [
"//src/tools/runfiles/java/com/google/devtools/build/runfiles:srcs",
],
visibility = ["//src:__pkg__"],
)
sh_library(
name = "runfiles_sh_lib",
srcs = ["runfiles.sh"],
visibility = ["//visibility:public"],
)
sh_test(
name = "runfiles_sh_test",
srcs = select({
"//src/conditions:windows": ["runfiles_windows_test.sh"],
"//conditions:default": ["runfiles_posix_test.sh"],
}),
deps = [":runfiles_sh_lib"],
)
alias(
name = "java-runfiles",
actual = "//src/tools/runfiles/java/com/google/devtools/build/runfiles",
visibility = ["//visibility:public"],
)
test_suite(
name = "windows_tests",
tags = [
"-no_windows",
"-slow",
],
)
test_suite(
name = "all_windows_tests",
tests = [
":windows_tests",
"//src/tools/runfiles/java/com/google/devtools/build/runfiles:all_windows_tests",
],
visibility = ["//src:__pkg__"],
)
|