commit | 7a65c6bc48c96fa640cbf13d45a692d0a64200e3 | [log] [tgz] |
---|---|---|
author | John L Chen <zuan@chromium.org> | Wed May 13 05:30:10 2020 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 25 22:07:34 2020 +0000 |
tree | 41b2fca084b8dfe92fd87877de3462cd441299eb | |
parent | d33772935392158d0b01f41d2ac9a85a0dbb429f [diff] |
libbrillo: Add ComputeDirectoryDiskUsage() for calculating disk usage. BUG=chromium:1080554 TEST=FEATURES=test emerge-$BOARD libbrillo Change-Id: I443165ebad8ebdfd06c346b127541799acfc0a7c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2195876 Tested-by: John L Chen <zuan@chromium.org> Commit-Queue: John L Chen <zuan@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: François Degros <fdegros@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2 Cr-Mirrored-Commit: 226ab943e7e01181feef79c9caeb6b1f56db6878
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.
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.