summaryrefslogtreecommitdiff
path: root/rules/CC/proto/TARGETS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-18 15:38:30 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-18 15:38:30 +0200
commit3386ea46882bdcc31d6669411b5028415a340471 (patch)
treeca42a0dec7f7f96826a32dfa436976cc8454a12a /rules/CC/proto/TARGETS
parentc1bd17cf5877f3cc236af12c23286a56d8051b8a (diff)
parent6591e8aa71be7950725c0fb10341a73ab3da4c52 (diff)
downloadrules-cc-3386ea46882bdcc31d6669411b5028415a340471.tar.gz
Merge commit '6591e8aa71be7950725c0fb10341a73ab3da4c52'
Diffstat (limited to 'rules/CC/proto/TARGETS')
-rw-r--r--rules/CC/proto/TARGETS13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules/CC/proto/TARGETS b/rules/CC/proto/TARGETS
new file mode 100644
index 0000000..45ef759
--- /dev/null
+++ b/rules/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"]
+ }
+}