aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2021-12-13 04:13:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-13 04:13:32 +0000
commitc95816ce4b7e375f71fc9d15425584730dbc0ee1 (patch)
tree9ff4ae49e308046fc89facbcb1aa3c23bb41afb8
parent49da1ac76cd24d98252ca2659c5581e100f3033c (diff)
parente23891877c1d12ea3d70ad44420a0949baf9f4b4 (diff)
downloadbuild-temp_sam_210511427.tar.gz
Merge "Refactor sepolicy version related codes" am: e23891877ctemp_sam_210511427
Original change: https://android-review.googlesource.com/c/platform/build/+/1916858 Change-Id: Ib836574268ae722da7a06d53d2014daa5877a991
-rw-r--r--core/config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index 4794816bd0..bfff84e4b6 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -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 \