blob: 86b6b1513144e6f13f697c0821893c9934a50723 [file] [log] [blame]
Luca Stefani09271392017-08-18 10:35:47 +02001#
2# This policy configuration will be used by all products that
3# inherit from Lineage
4#
5
dianlujitao370b40b2019-02-14 13:28:42 +08006ifeq ($(TARGET_COPY_OUT_VENDOR), vendor)
7ifeq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),)
8TARGET_USES_PREBUILT_VENDOR_SEPOLICY ?= true
9endif
10endif
11
Ethan Chen5c98e902017-10-18 19:11:22 -070012BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
13 device/lineage/sepolicy/common/public
14
15BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
16 device/lineage/sepolicy/common/private
Demon000ac09eee2017-12-23 15:07:01 +020017
dianlujitao370b40b2019-02-14 13:28:42 +080018ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
19BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
theimpulsonccc533f2019-11-15 03:52:14 +000020 device/lineage/sepolicy/common/dynamic \
21 device/lineage/sepolicy/common/system
dianlujitao370b40b2019-02-14 13:28:42 +080022else
Demon000ac09eee2017-12-23 15:07:01 +020023BOARD_SEPOLICY_DIRS += \
dianlujitao370b40b2019-02-14 13:28:42 +080024 device/lineage/sepolicy/common/dynamic \
LuK133720256ad2018-02-09 15:43:11 +010025 device/lineage/sepolicy/common/vendor
dianlujitao370b40b2019-02-14 13:28:42 +080026endif