Re: [protobuf] Creating a FileDescriptorSet of all .proto files used in a certain executable

2011-02-22 Thread Kenton Varda
As you note, you can't iterate over all compiled-in protos. However, if you can collect a set of root protos that you care about, it's easy to traverse down the tree to collect all their dependencies. In general, trying to enumerate everything that is linked in tends to lead to trouble. The

Re: [protobuf] Creating a FileDescriptorSet of all .proto files used in a certain executable

2011-02-22 Thread Oren Shemesh
Thanks Kenton, I appreciate the explanation. Regards, Oren. On Tue, Feb 22, 2011 at 8:52 PM, Kenton Varda ken...@google.com wrote: As you note, you can't iterate over all compiled-in protos. However, if you can collect a set of root protos that you care about, it's easy to traverse down the