From 8256c0f6320e9d548a2048b8fb2875d12830dc6e Mon Sep 17 00:00:00 2001 From: Philipp Wollermann Date: Tue, 18 Oct 2016 13:50:26 +0000 Subject: Fix a wrong target name in the protobuf/3.0.0/BUILD file. The "protobuf_python" target references a "protobuf_python_srcs" target in its deps, which does not exist, causing a build error when I tried to run "bazel build //src/main/...": ERROR: /Users/philwo/src/bazel/third_party/protobuf/3.0.0/BUILD:70:1: in deps attribute of py_library rule //third_party/protobuf/3.0.0:protobuf_python: rule '//third_party/protobuf/3.0.0:protobuf_python_srcs' does not exist. Since this rule was created by the macro 'py_proto_library', the error might have been caused by the macro implementation in /Users/philwo/src/bazel/third_party/protobuf/protobuf.bzl:256:12. I think the "python_srcs" target should actually be called "protobuf_python_srcs". With that change, the build works. -- MOS_MIGRATED_REVID=136467485 --- third_party/protobuf/3.0.0/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/protobuf') diff --git a/third_party/protobuf/3.0.0/BUILD b/third_party/protobuf/3.0.0/BUILD index 85c7ea5262..767ebd7306 100644 --- a/third_party/protobuf/3.0.0/BUILD +++ b/third_party/protobuf/3.0.0/BUILD @@ -50,7 +50,7 @@ filegroup( ################################################################################ py_library( - name = "python_srcs", + name = "protobuf_python_srcs", srcs = glob( [ "python/google/protobuf/*.py", -- cgit v1.2.3