libbrillo: Remove WatchFileDescriptor.

Its base API MessageLoopForIO::WatchFileDescriptor is removed
in the next libchrome uprev. All use cases are already
migrated into new API base::FileDescriptorWatcher.
This CL removes the support in libbrillo.

BUG=chromium:909719
TEST=Build locally. Ran cros_run_unit_tests.

Cq-Depend: chromium:1958264
Change-Id: I7627c05bff0d472078139ec522182c2d331851ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1828788
Tested-by: Qijiang Fan <fqj@google.com>
Commit-Queue: Qijiang Fan <fqj@google.com>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2
Cr-Mirrored-Commit: 78ed4639e33141d0612225a6869511c12dcbb8bc
(cherry picked from commit de74a5cc1a2e2ab9b9f4749d406b9afeee2db6ea)
14 files changed
tree: c081eed0301e2af00a8d116ba23d6f62c3105e47
  1. brillo/
  2. install_attributes/
  3. policy/
  4. Android.bp
  5. BUILD.gn
  6. libpolicy.ver
  7. METADATA
  8. MODULE_LICENSE_BSD
  9. NOTICE
  10. OWNERS
  11. PRESUBMIT.cfg
  12. README.md
  13. testrunner.cc
  14. testrunner_android.cc
README.md

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.