I am using a protobuf whose definition includes mulitple other protobufs. The directory hierarchy is gen/ gen/lib. There are two protobuf definitions in gen/lib corelib.proto and Block.proto. I get the following error
Block.proto: File not found. hardware/chips/infra/corelib/gen/lib/corelib.proto: Import "Block.proto" was not found or had errors. How should I change my proto_library to get it to compile. Shouldnt the include in the same directory work by default? Here is my build target: proto_library( name = "corelibproto", srcs = ["corelib.proto", ], cc_api_version = 2, go_api_version = 2, py_api_version = 2, visibility = ["//visibility:public"], has_services = 1, ) corelib.proto looks like this _____________________ import "Block.proto"; message Chip { repeated Block block = 1; } -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.