xref: /aosp_15_r20/external/libbrillo/README.md (revision 1a96fba65179ea7d3f56207137718607415c5953)
1*1a96fba6SXin Li# libbrillo: platform utility library
2*1a96fba6SXin Li
3*1a96fba6SXin Lilibbrillo is a shared library meant to hold common utility code that we deem
4*1a96fba6SXin Liuseful for platform projects.
5*1a96fba6SXin LiIt supplements the functionality provided by libbase/libchrome since that
6*1a96fba6SXin Liproject, by design, only holds functionality that Chromium (the browser) needs.
7*1a96fba6SXin LiAs a result, this tends to be more OS-centric code.
8*1a96fba6SXin Li
9*1a96fba6SXin Li## AOSP Usage
10*1a96fba6SXin Li
11*1a96fba6SXin LiThis project is also used by [Update Engine] which is maintained in AOSP.
12*1a96fba6SXin LiHowever, AOSP doesn't use this codebase directly, it maintains its own
13*1a96fba6SXin Li[libbrillo fork](https://android.googlesource.com/platform/external/libbrillo/).
14*1a96fba6SXin Li
15*1a96fba6SXin LiTo help keep the projects in sync, we have a gsubtree set up on our GoB:
16*1a96fba6SXin Lihttps://chromium.googlesource.com/chromiumos/platform2/libbrillo/
17*1a96fba6SXin Li
18*1a96fba6SXin LiThis allows AOSP to cherry pick or merge changes directly back into their fork.
19*1a96fba6SXin Li
20*1a96fba6SXin Li[Update Engine]: https://android.googlesource.com/platform/system/update_engine/
21