summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-05 10:56:49 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-05 12:08:32 +0200
commitdc97c25fabb53f95c4f0826db2323008e22505fd (patch)
tree8d899d4d1b186ca30690cf33947f3dfe25700507 /test
parentddd2f5937a9016f5ff2f6bf659ba459129e49826 (diff)
downloadjustbuild-dc97c25fabb53f95c4f0826db2323008e22505fd.tar.gz
grpc: hide dependency on google_rpc_status
grpc is used in the toolchain defaults for proto servive libraries. Still, it is typically built on its own, with its own toolchain, flags, etc. Now, grpc, however has a public dependency on a the rpc-status proto library, that the user may well use on their own, however building in their own way which can yield conflicts. To solve this, we hide the dependency on that proto library, as infrastructure libs should not make assumptions on user-servicable libraries. - First, we note that the dependency can be made a private one, which already solves the conflict on header files (which will essentially be the same, but might be defined in a different way). - Next, we note that the library at linking basically only acts as a default implementation; if the user provides their own version of the rpc-status library, we should prefer that anyway. As infrastructure is linked last, we have that default character anyway; the only thing to do is to rename the library that no staging conflict occurs.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions