cxyxiaoqi opened a new issue, #2392:
URL: https://github.com/apache/brpc/issues/2392

   May I inquire about how to write a BUILD file to compile the echo.proto file 
located in the test directory of brpc using Bazel? It seems that brpc excludes 
this file from compilation by default.
   
   A similar situation arises when a proto file imports options.proto, and this 
proto file requires compilation using a custom protoc plugin. It appears that I 
need to use the plugin to compile echo.proto, idl_options.proto, and 
google/protobuf/descriptor.proto separately.
   <img width="764" alt="Pasted Graphic1" 
src="https://github.com/apache/brpc/assets/107609907/53dc6e90-b50d-47c8-9717-ff0b1430cf4c";>
   <img width="695" alt="Pasted Graphic 2" 
src="https://github.com/apache/brpc/assets/107609907/af7c83cb-efcd-465f-96ea-8651973fb3f0";>
   <img width="880" alt="Pasted Graphic 3" 
src="https://github.com/apache/brpc/assets/107609907/0f299643-2ecb-4ad8-af4f-6d45c83c3e23";>
   <img width="618" alt="Pasted Graphic 4" 
src="https://github.com/apache/brpc/assets/107609907/6ad8c66c-455c-4508-9c18-0e870fc6e60e";>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to