diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-09-25 13:02:28 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-09-25 13:02:28 +0200 |
commit | 93d3bc8de4bc33a0d5edf8852a1a3de0ef5e0330 (patch) | |
tree | 8be8153f8d3f6db725129eccc6d97d1416a4667c /rules | |
parent | 155251bc3d9b2789dfac09132ef8f403555e8c27 (diff) | |
parent | 60b48ca64e6f6d0724a0e73ad9b4b86b10459013 (diff) | |
download | rules-cc-93d3bc8de4bc33a0d5edf8852a1a3de0ef5e0330.tar.gz |
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules')
-rw-r--r-- | rules/CC/proto/TARGETS | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rules/CC/proto/TARGETS b/rules/CC/proto/TARGETS index 45ef759..2ec60f2 100644 --- a/rules/CC/proto/TARGETS +++ b/rules/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++"]} } |