-
Notifications
You must be signed in to change notification settings - Fork 4k
/
BUILD
103 lines (96 loc) · 3.08 KB
/
BUILD
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
99
100
101
102
103
load(":build_defs.bzl", "BZLMOD_ENABLED")
package(default_visibility = ["//visibility:public"])
exports_files(["fastutil.proguard"])
filegroup(
name = "srcs",
srcs = glob(["**"]) + [
"//tools/allowlists:srcs",
"//tools/android:srcs",
"//tools/aquery_differ:srcs",
"//tools/bash:srcs",
"//tools/build_defs:srcs",
"//tools/build_rules:srcs",
"//tools/buildstamp:srcs",
"//tools/compliance:srcs",
"//tools/coverage:srcs",
"//tools/cpp:srcs",
"//tools/ctexplain:srcs",
"//tools/def_parser:srcs",
"//tools/distributions:srcs",
"//tools/genrule:srcs",
"//tools/java:srcs",
"//tools/jdk:srcs",
"//tools/launcher:srcs",
"//tools/mini_tar:srcs",
"//tools/objc:srcs",
"//tools/osx:srcs",
"//tools/proto:srcs",
"//tools/python:srcs",
"//tools/runfiles:srcs",
"//tools/sh:srcs",
"//tools/test:srcs",
"//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:srcs",
"//tools/test/CoverageOutputGenerator/javatests/com/google/devtools/coverageoutputgenerator:srcs",
"//tools/windows:srcs",
"//tools/zip:srcs",
],
)
# Sources in the built in repo '@bazel_tools'
filegroup(
name = "embedded_tools_srcs",
srcs = glob(
["**"],
exclude = ["fastutil.proguard"],
) + [
"//tools/allowlists:srcs",
"//tools/android:embedded_tools",
"//tools/bash:embedded_tools",
"//tools/build_defs:embedded_tools",
"//tools/build_rules:embedded_tools_srcs",
"//tools/buildstamp:srcs",
"//tools/coverage:srcs",
"//tools/cpp:embedded_tools",
"//tools/def_parser:srcs",
"//tools/genrule:srcs",
"//tools/java:embedded_tools",
"//tools/java:java_stub_template.txt",
"//tools/jdk:package-srcs",
"//tools/jdk:srcs",
"//tools/launcher:srcs",
"//tools/objc:srcs",
"//tools/osx:srcs",
"//tools/proto:srcs",
"//tools/python:embedded_tools",
"//tools/runfiles:embedded_tools",
"//tools/sh:embedded_tools",
"//tools/test:embedded_tools",
"//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:embedded_tools",
"//tools/windows:srcs",
"//tools/zip:srcs",
],
)
# All bzl files in the built in repo '@bazel_tools'.
filegroup(
name = "bzl_srcs",
srcs = [
"//tools:build_defs.bzl",
"//tools/android:bzl_srcs",
"//tools/build_defs:bzl_srcs",
"//tools/build_rules:bzl_srcs",
"//tools/cpp:bzl_srcs",
"//tools/jdk:bzl_srcs",
"//tools/osx:bzl_srcs",
"//tools/python:bzl_srcs",
"//tools/sh:bzl_srcs",
"//tools/test:bzl_srcs",
"//tools/windows:bzl_srcs",
],
)
sh_binary(
name = "upload_bazel_mirror",
srcs = ["upload_bazel_mirror.sh"],
)
alias(
name = "host_platform",
actual = "@platforms//host" if BZLMOD_ENABLED else "@internal_platforms_do_not_use//host",
)