Read-only gsubtree of platform2/libbrillo/ code

Clone this repo:

Branches

  1. 7a65c6b libbrillo: Add ComputeDirectoryDiskUsage() for calculating disk usage. by John L Chen · 2 days ago master
  2. d337729 platform2: run gn format BUILD.gn and *.gni by Clark Chung · 10 days ago
  3. 1bd717f libbrillo: Add MountNamespaceInterface and UnownedMountNamespace by Betul Soysal · 3 weeks ago
  4. 1cc5ffb libbrillo: Rework SafeFD Rmdir unit tests by Ereth McKnight-MacNeil · 3 weeks ago
  5. 9a12d21 libbrillo: Disable Rmdir_Recursive_StopOnError test by Ereth McKnight-MacNeil · 3 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.