From 86c4f21cc7dfea03da9a144c94a2028e0b764994 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 12 Apr 2023 15:48:53 +0200 Subject: defaults: Use self-compiled protoc/grpc toolchain --- etc/defaults/CC/proto/TARGETS.just | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 etc/defaults/CC/proto/TARGETS.just diff --git a/etc/defaults/CC/proto/TARGETS.just b/etc/defaults/CC/proto/TARGETS.just new file mode 100644 index 00000000..95ae1b00 --- /dev/null +++ b/etc/defaults/CC/proto/TARGETS.just @@ -0,0 +1,14 @@ +{ "defaults": + { "type": ["CC/proto", "defaults"] + , "PROTOC": ["bin/protoc"] + , "deps": [["@", "protoc", "", "libprotobuf"]] + , "toolchain": [["@", "protoc", "", "toolchain"]] + } +, "service defaults": + { "type": ["CC/proto", "defaults"] + , "base": ["defaults"] + , "GRPC_PLUGIN": ["grpc_cpp_plugin"] + , "deps": [["@", "grpc", "", "grpc++"]] + , "toolchain": [["@", "grpc", "", "grpc_cpp_plugin"]] + } +} -- cgit v1.2.3