summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-09-25 13:02:28 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2023-09-25 13:02:28 +0200
commit60b48ca64e6f6d0724a0e73ad9b4b86b10459013 (patch)
tree35cf24a7bb1c3499f0affbd7d4f3801e8f6fc138
parent4118e0b9930d11f6062751db4f1656e8cc2a680a (diff)
parent2a83d233f5720de4da5a96b64669521d9c6fd0f4 (diff)
downloadrules-cc-60b48ca64e6f6d0724a0e73ad9b4b86b10459013.tar.gz
Merge branch 'just-rules' into rules
-rw-r--r--CC/proto/TARGETS7
1 files changed, 5 insertions, 2 deletions
diff --git a/CC/proto/TARGETS b/CC/proto/TARGETS
index 45ef759..2ec60f2 100644
--- a/CC/proto/TARGETS
+++ b/CC/proto/TARGETS
@@ -1,13 +1,16 @@
{ "defaults":
{ "type": ["CC/proto", "defaults"]
, "PROTOC": ["protoc"]
- , "LDFLAGS": ["-lprotobuf"]
, "PATH": ["/bin", "/usr/bin"]
+ , "deps": ["libprotobuf"]
}
, "service defaults":
{ "type": ["CC/proto", "defaults"]
, "base": ["defaults"]
, "GRPC_PLUGIN": ["/usr/bin/grpc_cpp_plugin"]
- , "ADD_LDFLAGS": ["-lgrpc++", "-lgrpc", "-lgpr"]
+ , "deps": ["libgrpc++"]
}
+, "libprotobuf":
+ {"type": ["CC/pkgconfig", "system_library"], "name": ["libprotobuf"]}
+, "libgrpc++": {"type": ["CC/pkgconfig", "system_library"], "name": ["grpc++"]}
}