Skip to content

Commit

Permalink
sepolicy: Meow
Browse files Browse the repository at this point in the history
Signed-off-by: HeroBuxx <[email protected]>
  • Loading branch information
herobuxx committed Jun 22, 2020
1 parent 27e54f2 commit 01ea087
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions common/sepolicy.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ endif
endif

BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
device/lineage/sepolicy/common/public
device/cat/sepolicy/common/public

BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/common/private
device/cat/sepolicy/common/private

ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/common/dynamic \
device/lineage/sepolicy/common/system
device/cat/sepolicy/common/dynamic \
device/cat/sepolicy/common/system
else
BOARD_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/dynamic \
device/lineage/sepolicy/common/vendor
device/cat/sepolicy/common/dynamic \
device/cat/sepolicy/common/vendor
endif

# Selectively include legacy rules defined by the products
-include device/lineage/sepolicy/legacy-common/sepolicy.mk
-include device/cat/sepolicy/legacy-common/sepolicy.mk
10 changes: 5 additions & 5 deletions exynos/sepolicy.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ endif
endif

BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/exynos/private
device/cat/sepolicy/exynos/private

ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/exynos/dynamic \
device/lineage/sepolicy/exynos/system
device/cat/sepolicy/exynos/dynamic \
device/cat/sepolicy/exynos/system
else
BOARD_SEPOLICY_DIRS += \
device/lineage/sepolicy/exynos/dynamic \
device/lineage/sepolicy/exynos/vendor
device/cat/sepolicy/exynos/dynamic \
device/cat/sepolicy/exynos/vendor
endif
2 changes: 1 addition & 1 deletion legacy-common/sepolicy.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

ifeq ($(TARGET_HAS_LEGACY_CAMERA_HAL1), true)
BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
device/lineage/sepolicy/legacy-common/public/legacy-camera-hal1
device/cat/sepolicy/legacy-common/public/legacy-camera-hal1
endif
12 changes: 6 additions & 6 deletions qcom/sepolicy.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ endif
endif

BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/qcom/private
device/cat/sepolicy/qcom/private

ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/system
device/cat/sepolicy/qcom/dynamic \
device/cat/sepolicy/qcom/system
else
BOARD_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/vendor
device/cat/sepolicy/qcom/dynamic \
device/cat/sepolicy/qcom/vendor
endif

ifneq ($(filter msm8226 msm8610 msm8974 msm8909 msm8916 msm8952 msm8992 msm8994,$(TARGET_BOARD_PLATFORM)),)
BOARD_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/legacy-vendor
device/cat/sepolicy/qcom/legacy-vendor
endif

0 comments on commit 01ea087

Please sign in to comment.