blob: e60c3377a1ca1c71856239e2186c40237e37ba9f [file] [log] [blame]
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/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/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/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/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",
)