blob: 0d021c607ac8cc5b9e43e92c6c6323fc3153267f [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_whitelister.py",
"proguard_whitelister_test.py",
"proguard_whitelister_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__",
],
)