libbrillo: stop using HexEncode(ptr, size) Switch the libbrillo callers to the public span/string_view-based HexEncode APIs so they no longer depend on the compatibility patch exposing the pointer-based overload. BUG=b:497207816 TEST=CQ Change-Id: I97e5ab26ca7c17381b1c51e3ea7f1ae55707ee56 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/7707038 Reviewed-by: Eric Caruso <ejcaruso@chromium.org> Commit-Queue: Di Wu <diwux@google.com> Tested-by: Di Wu <diwux@google.com> NOKEYCHECK=True GitOrigin-RevId: 0a5495544c6ba4ea509aba7fb9510108cfcc10dc
libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.
This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.
To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/
This allows AOSP to cherry pick or merge changes directly back into their fork.