summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-04-12 15:48:53 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-18 12:44:10 +0200
commit86c4f21cc7dfea03da9a144c94a2028e0b764994 (patch)
tree59a2335a68afb0b7bd2c5fb55198e73329afbcdc
parentb6c862820e62cfcf43f7dc05e149e5c29746f89d (diff)
downloadjustbuild-86c4f21cc7dfea03da9a144c94a2028e0b764994.tar.gz
defaults: Use self-compiled protoc/grpc toolchain
-rw-r--r--etc/defaults/CC/proto/TARGETS.just14
1 files changed, 14 insertions, 0 deletions
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"]]
+ }
+}