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/TARGETS16
1 files changed, 16 insertions, 0 deletions
diff --git a/rules/CC/proto/TARGETS b/rules/CC/proto/TARGETS
new file mode 100644
index 0000000..87bebd0
--- /dev/null
+++ b/rules/CC/proto/TARGETS
@@ -0,0 +1,16 @@
+{ "defaults":
+ { "type": ["CC/proto", "defaults"]
+ , "PROTOC": ["protoc"]
+ , "PATH": ["/bin", "/usr/bin"]
+ , "deps": ["libprotobuf"]
+ }
+, "service defaults":
+ { "type": ["CC/proto", "defaults"]
+ , "base": ["defaults"]
+ , "GRPC_PLUGIN": ["/usr/bin/grpc_cpp_plugin"]
+ , "deps": ["libgrpc++"]
+ }
+, "libprotobuf":
+ {"type": ["CC/pkgconfig", "system_library"], "name": ["protobuf"]}
+, "libgrpc++": {"type": ["CC/pkgconfig", "system_library"], "name": ["grpc++"]}
+}