dragonboards: Add support for upstream mesa/main vulkan
Patch completely suggested by Roman Stratiienko (many thanks!)
This patch enables config options needed to get vulkan
working using the upstream mesa/main branch.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I762436a5dc7403674eae5b20b6da1548805a7271
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 1022689..e8738ac 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -65,6 +65,7 @@
/vendor/lib(64)?/hw/android\.hardware\.health@2\.0-impl-2\.1-cuttlefish\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/hw/gralloc\.minigbm_msm\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/hw/android\.hardware\.graphics\.mapper@4\.0-impl\.minigbm_msm\.so u:object_r:same_process_hal_file:s0
+/vendor/lib(64)?/hw/vulkan\.freedreno\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libdrm\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libdrm_freedreno\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libgbm_mesa\.so u:object_r:same_process_hal_file:s0