aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/def_parser
diff options
context:
space:
mode:
authorGravatar Yun Peng <pcloudy@google.com>2018-03-20 15:20:48 +0100
committerGravatar Yun Peng <pcloudy@google.com>2018-03-20 15:31:08 +0100
commit0a4622012ff796429220fe57d3217f262cc208a8 (patch)
treef7d2c7f0099e2d48bf64c54d187f75e27585a779 /third_party/def_parser
parent0acc6a7a989949635524424d0c88d7dbf32f38f8 (diff)
Fix visibility of def_parser for remote builds
https://github.com/bazelbuild/bazel/issues/4883 Change-Id: I23257cbde6f24df2b7af27c5ce37281202651ed1
Diffstat (limited to 'third_party/def_parser')
-rw-r--r--third_party/def_parser/BUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/def_parser/BUILD b/third_party/def_parser/BUILD
index 89a265acc7..bd75a15ae9 100644
--- a/third_party/def_parser/BUILD
+++ b/third_party/def_parser/BUILD
@@ -1,5 +1,12 @@
licenses(["notice"]) # 3-clause BSD
+package(
+ default_visibility = [
+ "//src:__subpackages__",
+ "//tools/def_parser:__subpackages__",
+ ],
+)
+
cc_library(
name = "def_parser_lib",
srcs = ["def_parser.cc"],