hikey960: Enable Vulkan API Support

hikey960/device-hikey960.mk:
  Changes to define Vulkan Hardware Level 0 and Vulkan Version 1.0.3
self-extractors_hikey960/arm/staging/device-partial.mk:
  Changes to copy libGLES_mali.so binaries as vulkan.hikey960.so
vendor_owner_info.txt:
  Update to include vulkan binaries

Test: Demos from https://github.com/SaschaWillems/Vulkan

Change-Id: I3bea2de62737d29b325ec228f79d310e68db346c
Signed-off-by: Sahaj Sarup <sahajsarup@gmail.com>
diff --git a/hikey960/device-hikey960.mk b/hikey960/device-hikey960.mk
index 6098480..2645e2d 100644
--- a/hikey960/device-hikey960.mk
+++ b/hikey960/device-hikey960.mk
@@ -22,7 +22,9 @@
 			device/linaro/hikey/init.hikey960.power.rc:root/init.hikey960.power.rc \
 			device/linaro/hikey/init.common.usb.rc:root/init.hikey960.usb.rc \
 			device/linaro/hikey/ueventd.common.rc:root/ueventd.hikey960.rc \
-			device/linaro/hikey/common.kl:system/usr/keylayout/hikey960.kl
+			device/linaro/hikey/common.kl:system/usr/keylayout/hikey960.kl \
+			frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:system/etc/permissions/android.hardware.vulkan.level.xml \
+			frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:system/etc/permissions/android.hardware.vulkan.version.xml
 
 # Build HiKey960 HDMI audio HAL. Experimental only may not work. FIXME
 PRODUCT_PACKAGES += audio.primary.hikey960
diff --git a/self-extractors_hikey960/arm/staging/device-partial.mk b/self-extractors_hikey960/arm/staging/device-partial.mk
index 8e667d7..8af8e9c 100644
--- a/self-extractors_hikey960/arm/staging/device-partial.mk
+++ b/self-extractors_hikey960/arm/staging/device-partial.mk
@@ -15,4 +15,6 @@
 # Linaro blob(s) necessary for Hikey hardware
 PRODUCT_COPY_FILES := \
     vendor/linaro/hikey960/arm/proprietary/lib64/libGLES_mali.so:system/lib64/egl/libGLES_mali.so:linaro \
-    vendor/linaro/hikey960/arm/proprietary/libGLES_mali.so:system/lib/egl/libGLES_mali.so:linaro
+    vendor/linaro/hikey960/arm/proprietary/libGLES_mali.so:system/lib/egl/libGLES_mali.so:linaro \
+    vendor/linaro/hikey960/arm/proprietary/lib64/libGLES_mali.so:system/vendor/lib64/hw/vulkan.hikey960.so:linaro \
+    vendor/linaro/hikey960/arm/proprietary/libGLES_mali.so:system/vendor/lib/hw/vulkan.hikey960.so:linaro
diff --git a/vendor_owner_info.txt b/vendor_owner_info.txt
index da8d27f..85519d6 100644
--- a/vendor_owner_info.txt
+++ b/vendor_owner_info.txt
@@ -1,2 +1,4 @@
 system/vendor/lib64/egl/libGLES_mali.so:linaro
 system/vendor/lib/egl/libGLES_mali.so:linaro
+system/vendor/lib/hw/vulkan.hikey960.so:linaro
+system/vendor/lib64/hw/vulkan.hikey960.so:linaro