sonyxperiadev / device-sony-loire

17 stars 40 forks source link

[loire] Board sepolicy: Fix legacy build variable #237

Closed ix5 closed 5 years ago

ix5 commented 5 years ago

Rename BOARD_SEPOLICY_DIRS to BOARD_VENDOR_SEPOLICY_DIRS for the vendor/ subfolder.

This is needed for split sepolicy compatibility.

See system/sepolicy/Android.mk:

BOARD_SEPOLICY_DIRS was used for vendor/odm sepolicy customization before. It has been replaced by BOARD_VENDOR_SEPOLICY_DIRS (mandatory) and BOARD_ODM_SEPOLICY_DIRS (optional). BOARD_SEPOLICY_DIRS is still allowed for backward compatibility, which will be merged into BOARD_VENDOR_SEPOLICY_DIRS. ifdef BOARD_SEPOLICY_DIRS BOARD_VENDOR_SEPOLICY_DIRS += $(BOARD_SEPOLICY_DIRS) endif