diff options
author | 2016-10-18 13:50:26 +0000 | |
---|---|---|
committer | 2016-10-19 08:25:35 +0000 | |
commit | 8256c0f6320e9d548a2048b8fb2875d12830dc6e (patch) | |
tree | 53d138a26e99a11d8363e699504892e26512404c /third_party | |
parent | e3b4af2c9aaba4848c92d358c286f106feaf384f (diff) |
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
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/protobuf/3.0.0/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
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", |