LAKITU: libbrillo: remove glib usage

We're ugprading glib to latest 2.68 which causes an API
breakage and considering it is not used anymore in favor
of libchrome, we drop glib support instead of fixing it.

Instead of deleting the unused code from platform2
repository (which is a mirror from ChromeOS), we are
adding a patch which deletes the unused code when
building libbrillo package.

BUG=b/200325608,b/200325807
TEST=presubmit
RELEASE_NOTE=None

cos-patch: security-moderate
Disallow-Recycled-Builds: test-failures
Change-Id: Ifde0cd7e0bdfd7a0590229edc263abf5c89eaae9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/3103795
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Auto-Submit: Adrian Ratiu <adrian.ratiu@collabora.corp-partner.google.com>
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/chromiumos-overlay/+/22810
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Meena Shanmugam <meenashanmugam@google.com>
3 files changed