Read-only gsubtree of platform2/libbrillo/ code

Clone this repo:

Branches

  1. baf8834 libbrillo: Use std::to_underlying instead of base::to_underlying by Di Wu · 6 days ago main
  2. 89253c4 libbrillo: Migrate NOTREACHED_IN_MIGRATION to NOTREACHED by Brett Brotherton · 2 weeks ago
  3. 258d519 libbrillo: stop using HexEncode(ptr, size) by Di Wu · 3 weeks ago
  4. c5ab8f6 libbrillo: stop using private base::File raw I/O by Di Wu · 3 weeks ago
  5. 6dd1f8e libbrillo: stop using private base::File current-pos reads by Di Wu · 6 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.