anv: Install as Vulkan HAL module in Android.mk build
authorTapani Pälli <tapani.palli@intel.com>
Thu, 14 Sep 2017 06:57:40 +0000 (09:57 +0300)
committerChad Versace <chadversary@chromium.org>
Wed, 18 Oct 2017 07:23:38 +0000 (00:23 -0700)
commit6ef9bea734f7aae36b74ef5cf43712f3cb2ed943
tree931f19868c6eab78b2481ab02f52a39c2e2094a5
parent053d4c328fa48838572857bd53d07d7680070d52
anv: Install as Vulkan HAL module in Android.mk build

Now that anvil fully implements the Vulkan HAL interface, we can install
it as the vendor HAL module at /vendor/lib/hw/vulkan.${board}.so. To do
so:

  - Rename LOCAL_MODULE to vulkan.$(TARGET_BOARD_PLATFORM).
  - Use LOCAL_PROPRIETARY_MODULE to install under vendor path.

Tested by running different Sascha Williams demos on Android-IA.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
[chadv: Extract this hunk from Tapani's patch, and embed it as
 stand-alone patch in my arc-vulkan series].
Signed-off-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/Android.vulkan.mk