From 48f4317f428719a55c70ac7a8a58df834418cd17 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 6 Apr 2023 18:16:50 +0200 Subject: rules: Support protoc/grpc_cpp_plugin from defaults --- CC/proto/TARGETS | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CC/proto/TARGETS (limited to 'CC/proto/TARGETS') 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"] + } +} -- cgit v1.2.3