blob: 0a4480cf6e5a7819094967b0abdb84d0c62e5f93 [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
filegroup(
name = "BUILD-jdk",
srcs = [":BUILD.tools"],
)
filegroup(
name = "srcs",
srcs = [
"BUILD",
"BUILD.java_tools",
"BUILD.java_tools_prebuilt",
"BUILD-jdk", # Tools are build from the workspace for tests.
"default_java_toolchain.bzl",
"java_toolchain_alias.bzl",
"launcher_flag_alias.bzl",
"local_java_repository.bzl",
"nosystemjdk/README",
"proguard_allowlister.py",
"proguard_allowlister_test.py",
"proguard_allowlister_test_input.pgcfg",
"remote_java_repository.bzl",
"toolchain_utils.bzl",
":java_stub_template.txt",
],
)
filegroup(
name = "bzl_srcs",
srcs = glob(["*.bzl"]),
visibility = ["//tools:__pkg__"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
)
genrule(
name = "copy_java_stub_template",
srcs = [
"//src/main/java/com/google/devtools/build/lib/bazel/rules/java:java_stub_template.txt",
],
outs = ["java_stub_template.txt"],
cmd = "cp $< $@",
visibility = [
"//tools:__pkg__",
"//tools/jdk:__pkg__",
],
)