install hooks: Allow lib64 for google-breakpad

We want to build libbreakpad_client.a as a 64-bit archive so we can link
it with core_collect64 in crash-reporter. This sanity check fails though
because the package installs the archive to /usr/lib64. Skip this sanity
check when the package is google-breakpad so we can have both the 32-bit
and 64-bit versions of libbreakpad_client.a useable by crash-reporter.

BUG=b:164481201
TEST=USE="cros_arm64" emerge-trogdor google-breakpad

Change-Id: Ifaa60d3156cd106cde0b9a512bf5515d85e7d757
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2358913
Tested-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/hooks/install/multilib-sanity.sh b/hooks/install/multilib-sanity.sh
index c8edf47..438d656 100755
--- a/hooks/install/multilib-sanity.sh
+++ b/hooks/install/multilib-sanity.sh
@@ -35,6 +35,12 @@
 # Main entry point for this hook.
 check_multilib() {
   local paths=()
+
+  case "${CATEGORY}/${PN}" in
+    # Needs to install a 64-bit archive on arm32 builds.
+    chromeos-base/google-breakpad) return ;;
+  esac
+
   case ${ARCH} in
   arm|x86)
     if ! bad_path_exists "lib64"; then