sepolicy_vndr: Switch to BOARD_VENDOR_SEPOLICY_DIRS
- BOARD_SEPOLICY_DIRS is deprecated and gives compile-time
errors when used in unison with a device using BOARD_VENDOR_SEPOLICY_DIRS
Ref:
[0]: ec3ac470a9
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Icefb062cc8cdef532b4310684d9a66afe97e49c4
This commit is contained in:
parent
b7a0ca516f
commit
94a6f639fd
1 changed files with 9 additions and 9 deletions
18
SEPolicy.mk
18
SEPolicy.mk
|
@ -24,24 +24,24 @@ PRODUCT_PRIVATE_SEPOLICY_DIRS := \
|
|||
$(QSSI_SEPOLICY_PATH)/generic/product/private
|
||||
|
||||
ifeq (,$(filter sdm845 sdm710, $(TARGET_BOARD_PLATFORM)))
|
||||
BOARD_SEPOLICY_DIRS := \
|
||||
$(BOARD_SEPOLICY_DIRS) \
|
||||
BOARD_VENDOR_SEPOLICY_DIRS := \
|
||||
$(BOARD_VENDOR_SEPOLICY_DIRS) \
|
||||
$(SEPOLICY_PATH) \
|
||||
$(SEPOLICY_PATH)/generic/vendor/common \
|
||||
$(SEPOLICY_PATH)/generic/vendor/common/attribute \
|
||||
$(SEPOLICY_PATH)/qva/vendor/common
|
||||
|
||||
ifeq ($(TARGET_SEPOLICY_DIR),)
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_BOARD_PLATFORM)
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_BOARD_PLATFORM)
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_BOARD_PLATFORM)
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_BOARD_PLATFORM)
|
||||
else
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_SEPOLICY_DIR)
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_SEPOLICY_DIR)
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_SEPOLICY_DIR)
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_SEPOLICY_DIR)
|
||||
endif
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/test
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test
|
||||
BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test/sysmonapp
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/test
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test/sysmonapp
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue