sepolicy: qva: kona: Fix KineticsXR controller debug property

Kona is able to compile again in userdebug builds

Change-Id: Ia84873a15aff6ec4bba59dc71d40ac9e1ca32af7
This commit is contained in:
Mashopy 2023-09-09 17:09:55 +02:00 committed by Elias
parent 67c02c3d98
commit dee693aa36
3 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,11 @@ ifeq (,$(filter sdm845 sdm710 sdm660 msm8937 msm8953 msm8998, $(TARGET_BOARD_PLA
$(COMMON_SEPOLICY_PATH)/qva/vendor/common \
$(COMMON_SEPOLICY_PATH)/generic/vendor/$(TARGET_SEPOLICY_DIR) \
$(COMMON_SEPOLICY_PATH)/qva/vendor/$(TARGET_SEPOLICY_DIR)
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
$(COMMON_SEPOLICY_PATH)/qva/vendor/test
endif
else # Legacy
BOARD_VENDOR_SEPOLICY_DIRS += \
$(COMMON_SEPOLICY_PATH)/legacy/vendor/ssg \

View File

@ -22,4 +22,4 @@ allow vendor_hal_nordic_default vendor_qdsp_device:file open;
allow vendor_hal_nordic_default vendor_qdsp_device:chr_file { open read };
allow vendor_hal_nordic_default vendor_kx_file:file { open read getattr };
hal_client_domain(vendor_hal_nordic_default, hal_allocator);
userdebug_or_eng('set_prop(vendor_hal_nordic_default, vendor_kineticsxr_prop)')
userdebug_or_eng(`set_prop(vendor_hal_nordic_default, vendor_kineticsxr_prop)')

View File

@ -1,2 +1,2 @@
#kineticsxr
type vendor_kineticsxr_prop, property_type;
vendor_public_prop(vendor_kineticsxr_prop)