aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/BUILD
diff options
context:
space:
mode:
authorGravatar cparsons <cparsons@google.com>2018-06-27 13:25:36 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-27 13:27:21 -0700
commit116971c08caa3f9bd94fc91066cd4cd1e432cafe (patch)
tree80897291c3e5896982a61f3a8a7fd3419da109ca /src/test/java/com/google/devtools/build/lib/BUILD
parent7463665f1cf8c3585a2283a9ec1d916d7237d799 (diff)
Fix docgen handling of multiple modules with the same name
If there are multiple modules with the same name: - If only one is marked 'documented', that one takes precedence. - If one is a subclass of the others, the subclass takes precedence. - Otherwise, an exception is thrown. RELNOTES: None. PiperOrigin-RevId: 202359443
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/BUILD')
-rw-r--r--src/test/java/com/google/devtools/build/lib/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/BUILD b/src/test/java/com/google/devtools/build/lib/BUILD
index 33748a634f..683170e8bd 100644
--- a/src/test/java/com/google/devtools/build/lib/BUILD
+++ b/src/test/java/com/google/devtools/build/lib/BUILD
@@ -153,6 +153,7 @@ java_library(
name = "test_runner",
testonly = 1,
srcs = ["AllTests.java"],
+ visibility = ["//src/test/java/com/google/devtools/build:__subpackages__"],
deps = [
":testutil",
"//third_party:junit4",