aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-03-16 13:17:57 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-03-17 10:03:45 +0000
commitb78bbd5dd53ecaeb8a736b69ecd3f014232da1d4 (patch)
tree0f13b04b4b05d90c2aab1a881ec73c631fca6b20 /tools/build_rules
parentc4d448fb1841dc007c8053c9940a195634425fb1 (diff)
Add Python protobuf to Bazel third_party and move all protobuf targets into
//third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
Diffstat (limited to 'tools/build_rules')
-rw-r--r--tools/build_rules/genproto.bzl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_rules/genproto.bzl b/tools/build_rules/genproto.bzl
index b0d8cf9e1a..62284a3b20 100644
--- a/tools/build_rules/genproto.bzl
+++ b/tools/build_rules/genproto.bzl
@@ -50,7 +50,7 @@ gensrcjar = rule(
# TODO(bazel-team): this should be a hidden attribute with a default
# value, but Skylark needs to support select first.
"_proto_compiler": attr.label(
- default = Label("@bazel_tools//third_party:protoc"),
+ default = Label("@bazel_tools//third_party/protobuf:protoc"),
allow_files = True,
executable = True,
single_file = True,
@@ -79,7 +79,7 @@ def java_proto_library(name, src):
native.java_library(
name=name,
srcs=[name + "_srcjar"],
- deps=["@bazel_tools//third_party:protobuf"],
+ deps=["@bazel_tools//third_party/protobuf"],
# The generated code has lots of 'rawtypes' warnings.
javacopts=["-Xlint:-rawtypes"],
)