summaryrefslogtreecommitdiff
path: root/rules/CC/proto/TARGETS
diff options
context:
space:
mode:
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"]
+ }
+}