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

Commit 802eecc0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add TOT_SEPOLICY_VERSION = 10000.0"

parents fb6389d7 d9c8e956
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -879,11 +879,13 @@ sepolicy_minor_vers := 0
ifneq ($(sepolicy_major_vers), $(PLATFORM_SDK_VERSION))
$(error sepolicy_major_version does not match PLATFORM_SDK_VERSION, please update.)
endif

TOT_SEPOLICY_VERSION := 10000.0
ifneq (REL,$(PLATFORM_VERSION_CODENAME))
    sepolicy_major_vers := 10000
    sepolicy_minor_vers := 0
endif
    PLATFORM_SEPOLICY_VERSION := $(TOT_SEPOLICY_VERSION)
else
    PLATFORM_SEPOLICY_VERSION := $(join $(addsuffix .,$(sepolicy_major_vers)), $(sepolicy_minor_vers))
endif
sepolicy_major_vers :=
sepolicy_minor_vers :=

@@ -892,6 +894,11 @@ PLATFORM_SEPOLICY_COMPAT_VERSIONS := \
    26.0 \
    27.0

.KATI_READONLY := \
    PLATFORM_SEPOLICY_COMPAT_VERSIONS \
    PLATFORM_SEPOLICY_VERSION \
    TOT_SEPOLICY_VERSION \

# ###############################################################
# Set up final options.
# ###############################################################