Read-only gsubtree of platform2/libbrillo/ code

Clone this repo:

Branches

  1. 32693eb libbrillo: restore O_NONBLOCK on close for unowned FileStream FDs by George Burgess IV · 2 weeks ago main
  2. 1d74d59 libbrillo: Fix unit tests under gtest-parallel and pipe FD leaks by Allen Webb · 2 weeks ago
  3. 2a7a713 libbrillo, policy_utils: Remove vsavu from OWNERS and WATCHLISTS by Victor Gabriel Savu · 3 weeks ago
  4. 7011e44 libbrillo: guard LogToString buffer with a mutex by George Burgess IV · 3 weeks ago
  5. a7f37a1 libbrillo: Pass uintptr_t program_counter to Location::CreateForTesting by Byron Lee · 5 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.