Read-only gsubtree of platform2/libbrillo/ code

Clone this repo:

Branches

  1. 87285fc libbrillo: Introduce WriteFileAtomically. by Hidehiko Abe · 3 weeks ago main
  2. d21d617 libbrillo: Fix unsafety in operator~ in enum_flags.h by mlcui · 3 weeks ago
  3. c9c3326 libbrillo: Remove betuls from namespace owners by Betul · 3 weeks ago
  4. 06b1a1e libbrillo: IncludeBraces LSC by George Burgess IV · 6 weeks ago
  5. 314d434 step 1 of adding `InsertBraces: true` to global clang-format by George Burgess IV · 2 months 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.