aosp-frameworks-ml-nn: fix vendor hal loading

With the implementation of multi-HAL loading (crrev.com/c/3007637), it
actually breaks the ability to load vendor HALs (ie, intel-nnhal).

This CL cleans up the dependencies and structure slightly to allow the
installed libvendor-nnhal.so from other packages to override the default
one.

BUG=b:196007189
TEST=USE=vendor-nnhal emerge-volteer aosp-frameworks-ml-nn

Change-Id: I7e0224ceca8b8904cea37996733e40b040004ad2
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/frameworks/ml/+/3083669
Tested-by: Jim Pollock <jmpollock@chromium.org>
Auto-Submit: Jim Pollock <jmpollock@chromium.org>
Commit-Queue: Jim Pollock <jmpollock@chromium.org>
Reviewed-by: Michael Olney <mpolney@google.com>
2 files changed