blob: b7d99f89334ba885487bf7fed5a90e260921915b [file] [log] [blame]
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:private"])
filegroup(
name = "srcs",
srcs = glob(
["**"],
exclude = [
".*",
"*~",
], # .swp files and such
) + ["//tools/java/runfiles/testing:srcs"],
visibility = ["//tools/java:__pkg__"],
)
filegroup(
name = "embedded_tools",
srcs = [
"BUILD.tools",
":java-srcs",
],
visibility = ["//tools/java:__pkg__"],
)
filegroup(
name = "java-srcs",
srcs = [
"AutoBazelRepository.java",
"AutoBazelRepositoryProcessor.java",
"Runfiles.java",
"Util.java",
],
)
java_library(
name = "runfiles",
srcs = [
"Runfiles.java",
"Util.java",
],
visibility = [
"//src/main/java/com/google/devtools/build/skydoc:__pkg__",
"//src/test/java/com/google/devtools/build/skydoc:__pkg__",
"//tools/java/runfiles/testing:__pkg__",
],
)
java_library(
name = "runfiles_for_stardoc",
srcs = ["RunfilesForStardoc.java"],
visibility = ["//src/main/java/com/google/devtools/build/skydoc:__pkg__"],
deps = [":runfiles"],
)