media-libs/arc-cros-gralloc: Enable support for multilib

Bump EAPI to 5, add necessary ABI flags to dependencies, use
multilib-minimal eclass, migrate compile and install stages to multilib
entry points, stop overriding compilation flags, specify BUILD_DIR
explicitly before calling into multilib helpers and point the linker to
appropriate library path (workaround for missing pkg-config support in
this ebuild).

BUG=b:36540057
TEST=emerge-reef arc-cros-gralloc

Change-Id: Ic217ed8167c2396cf3d44260c7af010e9d4d4c5c
Reviewed-on: https://chromium-review.googlesource.com/488749
Commit-Ready: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed