diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-04-06 18:16:50 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-18 12:44:10 +0200 |
commit | 48f4317f428719a55c70ac7a8a58df834418cd17 (patch) | |
tree | d0294fc933ef8b7a40bddc532cdad7eed557b5ae /CC/proto/TARGETS | |
parent | 7be3cd35b3695f7f931fdd9e3490d0be517ed0ad (diff) | |
download | rules-cc-48f4317f428719a55c70ac7a8a58df834418cd17.tar.gz |
rules: Support protoc/grpc_cpp_plugin from defaults
Diffstat (limited to 'CC/proto/TARGETS')
-rw-r--r-- | CC/proto/TARGETS | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CC/proto/TARGETS b/CC/proto/TARGETS new file mode 100644 index 0000000..45ef759 --- /dev/null +++ b/CC/proto/TARGETS @@ -0,0 +1,13 @@ +{ "defaults": + { "type": ["CC/proto", "defaults"] + , "PROTOC": ["protoc"] + , "LDFLAGS": ["-lprotobuf"] + , "PATH": ["/bin", "/usr/bin"] + } +, "service defaults": + { "type": ["CC/proto", "defaults"] + , "base": ["defaults"] + , "GRPC_PLUGIN": ["/usr/bin/grpc_cpp_plugin"] + , "ADD_LDFLAGS": ["-lgrpc++", "-lgrpc", "-lgpr"] + } +} |