Luca Stefani | 0927139 | 2017-08-18 10:35:47 +0200 | [diff] [blame] | 1 | # |
| 2 | # This policy configuration will be used by all products that |
| 3 | # inherit from Lineage |
| 4 | # |
| 5 | |
dianlujitao | 370b40b | 2019-02-14 13:28:42 +0800 | [diff] [blame] | 6 | ifeq ($(TARGET_COPY_OUT_VENDOR), vendor) |
| 7 | ifeq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),) |
| 8 | TARGET_USES_PREBUILT_VENDOR_SEPOLICY ?= true |
| 9 | endif |
| 10 | endif |
| 11 | |
Ethan Chen | 5c98e90 | 2017-10-18 19:11:22 -0700 | [diff] [blame] | 12 | BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \ |
| 13 | device/lineage/sepolicy/common/public |
| 14 | |
| 15 | BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \ |
| 16 | device/lineage/sepolicy/common/private |
Demon000 | ac09eee | 2017-12-23 15:07:01 +0200 | [diff] [blame] | 17 | |
dianlujitao | 370b40b | 2019-02-14 13:28:42 +0800 | [diff] [blame] | 18 | ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true) |
| 19 | BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \ |
theimpulson | ccc533f | 2019-11-15 03:52:14 +0000 | [diff] [blame^] | 20 | device/lineage/sepolicy/common/dynamic \ |
| 21 | device/lineage/sepolicy/common/system |
dianlujitao | 370b40b | 2019-02-14 13:28:42 +0800 | [diff] [blame] | 22 | else |
Demon000 | ac09eee | 2017-12-23 15:07:01 +0200 | [diff] [blame] | 23 | BOARD_SEPOLICY_DIRS += \ |
dianlujitao | 370b40b | 2019-02-14 13:28:42 +0800 | [diff] [blame] | 24 | device/lineage/sepolicy/common/dynamic \ |
LuK1337 | 20256ad | 2018-02-09 15:43:11 +0100 | [diff] [blame] | 25 | device/lineage/sepolicy/common/vendor |
dianlujitao | 370b40b | 2019-02-14 13:28:42 +0800 | [diff] [blame] | 26 | endif |