diff options
author | 2018-03-09 10:49:37 -0800 | |
---|---|---|
committer | 2018-03-09 10:49:37 -0800 | |
commit | 6ebfa148a400691a77174b70a65bec80c446df33 (patch) | |
tree | f49afae54a91c250f2db7eeb992d18ed94c2a12e | |
parent | 6dd563a674a3ce9bf846decdfcbea50f6d2d6aaa (diff) | |
parent | 950f5e42054bdc7a5beeeabf6e839aa4296786ce (diff) |
Merge pull request #4375 from jo2y/protoc-default
Replace //:protoc and similar default macro arguments with
-rw-r--r-- | BUILD | 2 | ||||
-rw-r--r-- | protobuf.bzl | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -254,7 +254,7 @@ internal_copied_filegroup( srcs = WELL_KNOWN_PROTOS, dest = "", strip_prefix = "src", - visibility = ["//visibility:hidden"], + visibility = ["//visibility:private"], ) [proto_library( diff --git a/protobuf.bzl b/protobuf.bzl index 6aed44a4..1c2d63c6 100644 --- a/protobuf.bzl +++ b/protobuf.bzl @@ -171,10 +171,10 @@ def cc_proto_library( deps=[], cc_libs=[], include=None, - protoc="//:protoc", + protoc="@com_google_protobuf//:protoc", internal_bootstrap_hack=False, use_grpc_plugin=False, - default_runtime="//:protobuf", + default_runtime="@com_google_protobuf//:protobuf", **kargs): """Bazel rule to create a C++ protobuf library from proto source files @@ -317,8 +317,8 @@ def py_proto_library( py_libs=[], py_extra_srcs=[], include=None, - default_runtime="//:protobuf_python", - protoc="//:protoc", + default_runtime="@com_google_protobuf//:protobuf_python", + protoc="@com_google_protobuf//:protoc", use_grpc_plugin=False, **kargs): """Bazel rule to create a Python protobuf library from proto source files |