hikey960: Set sepolicy for vulkan lib
to fix the physical device not found problem.
Test: cts -m CtsDeqpTestCases --module-arg CtsDeqpTestCases:include-filter:dEQP-VK.*
cts -m CtsGraphicsTestCases android.graphics.cts.VulkanFeaturesTest#testVulkanHardwareFeatures
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I396d56e5d59373b3724a031e192021735da73f25
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 350c678..e3add29 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -42,6 +42,7 @@
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0
/vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common u:object_r:hal_power_default_exec:s0
+/vendor/lib(64)?/hw/vulkan\.hikey960\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libRSDriverArm\.so u:object_r:same_process_hal_file:s0
/vendor/lib64/libbccArm\.so u:object_r:same_process_hal_file:s0
/vendor/lib64/libbcc\.so u:object_r:same_process_hal_file:s0