Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51c455bd authored by Inseob Kim's avatar Inseob Kim
Browse files

Refactor sepolicy version related codes

1. Move BOARD_SEPOLICY_VERS to build/make/core/config.mk where
PLATFORM_SEPOLICY_VERSION is set.

2. Remove hard-coded versions for the treble tests.

Test: build
Change-Id: Iab338a1f16855205d62312d4247a15ea766be1fe
parent 598cbbcd
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -831,6 +831,15 @@ endif
sepolicy_major_vers :=
sepolicy_minor_vers :=

# BOARD_SEPOLICY_VERS must take the format "NN.m" and contain the sepolicy
# version identifier corresponding to the sepolicy on which the non-platform
# policy is to be based. If unspecified, this will build against the current
# public platform policy in tree
ifndef BOARD_SEPOLICY_VERS
# The default platform policy version.
BOARD_SEPOLICY_VERS := $(PLATFORM_SEPOLICY_VERSION)
endif

# A list of SEPolicy versions, besides PLATFORM_SEPOLICY_VERSION, that the framework supports.
PLATFORM_SEPOLICY_COMPAT_VERSIONS := \
    28.0 \