From aff76ffba0817a536d7ecb4ef5f3dc06976ac038 Mon Sep 17 00:00:00 2001 From: MOHAMEDELHALOUA Date: Thu, 2 Apr 2026 15:24:31 +0100 Subject: [PATCH] feat: add public kvs wrapper target for external consumers Add a public :kvs cc_library wrapper target to allow external projects to depend on the KVS library without coupling to internal targets directly. This follows the same pattern as score_communication//score/mw/com:com. Fixes: external consumers getting visibility errors when depending on :kvs_cpp or :kvsvalue directly. --- src/cpp/src/BUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/cpp/src/BUILD b/src/cpp/src/BUILD index a3a80744..94918af6 100644 --- a/src/cpp/src/BUILD +++ b/src/cpp/src/BUILD @@ -53,3 +53,13 @@ cc_library( "@score_baselibs//score/result", ], ) + +# Public API wrapper — allows external projects to depend on KVS +cc_library( + name = "kvs", # the clean public target + visibility = ["//visibility:public"], # open to everyone + deps = [ + ":kvs_cpp", + ":kvsvalue", + ], +)