Open jmuk opened 8 years ago
Cc: @geigerj
Would a simple map between proto_gen_pkg_dep to package name for each language suffice or should more sophisticated logic be used?
proto_gen_pkg_dep is just supposed to refer to the api_name used in the consumed package. In general, this just means prefixing "grpc-" (for Java).
Yeah. FYI in Java, we even do the same thing for google-common-protos :-)
Gotcha! Thanks for the clarification!
--proto_gen_pkg_dep
flag has been added by @garrettjonesgoogle for mixin support, but it's not yet used for other langauges. Especially Python and Ruby package template should use them for additional dependencies.