> ERROR: /home/ji/workspace/rp/src/ttt/BUILD:3:1: no such package '': BUILD
> file not found on package path and referenced by '//src/ttt:foo'.
When using cc_proto_library() I find I always have to explicitly specify
its protoc and default_runtime arguments to point to the targets inside
the iexternal protobuf workspace. Something like:
cc_proto_library(
name = "foo",
srcs = ["foo.proto"],
protoc = "//third_party/protobuf:protoc",
default_runtime = "//third_party/protobuf:protobuf_lite",
)
But I'm using git_repository() in my WORKSPACE rather than importing the
source into third_party, so it's possible you're hitting a different
problem, but hopefully this helps you.
Brian.