| # |
| # This policy configuration will be used by all qcom products |
| # that inherit from Lineage |
| # |
| |
| ifeq ($(TARGET_COPY_OUT_VENDOR), vendor) |
| ifeq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),) |
| TARGET_USES_PREBUILT_VENDOR_SEPOLICY ?= true |
| endif |
| endif |
| |
| SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/qcom/private |
| |
| ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true) |
| SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/qcom/dynamic \ |
| device/lineage/sepolicy/qcom/system |
| else |
| BOARD_VENDOR_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/qcom/dynamic \ |
| device/lineage/sepolicy/qcom/vendor |
| endif |
| |
| ifeq (,$(filter msm8937 msm8953 msm8996 msm8998 sdm660 sdm710 sdm845, $(TARGET_BOARD_PLATFORM))) |
| BOARD_SEPOLICY_M4DEFS += \ |
| display_vendor_data_file=vendor_display_vendor_data_file \ |
| hal_gnss_qti=vendor_hal_gnss_qti \ |
| hal_keymaster_qti_exec=vendor_hal_keymaster_qti_exec \ |
| hal_perf_default=vendor_hal_perf_default \ |
| location_domain=vendor_location \ |
| persist_block_device=vendor_persist_block_device \ |
| qdisplay_service=vendor_qdisplay_service \ |
| sysfs_battery_supply=vendor_sysfs_battery_supply \ |
| sysfs_graphics=vendor_sysfs_graphics \ |
| sysfs_socinfo_sensitive=vendor_sysfs_soc_sensitive \ |
| sysfs_usb_supply=vendor_sysfs_usb_supply |
| else |
| BOARD_SEPOLICY_M4DEFS += \ |
| location_domain=location |
| endif |