Read-only gsubtree of platform2/libbrillo/ code

Clone this repo:

Branches

  1. 7d95dc4 libbrillo: Handle configless field in DecodeHWID by Allen Shih · 3 days ago main
  2. b3eb484 libbrillo: libsegmentation: Move DecodeHWID to libbrillo by Allen Shih · 3 days ago
  3. 0f2b462 Migrate base::numerics uses for libchrome change by Georg Neis · 7 days ago
  4. e55a7ef Platform2: replace base::make_span by base::span by Cici Ruan · 5 weeks ago
  5. b9809cb libbrillo: enum_flags_test: fix typo by Mike Frysinger · 9 weeks ago

libbrillo: platform utility library

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.

AOSP Usage

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.