Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
2787c19f
Commit
2787c19f
authored
Feb 7, 2018
by
Yifan Hong
Committed by
android-build-merger
Feb 7, 2018
Browse files
Options
Downloads
Plain Diff
Move PLATFORM_SEPOLICY_VERSION to make/core/config.mk
am:
3dff9ab4
Change-Id: I6080271008eff31de9bf407250cf64c4001f8ff4
parents
602575ec
3dff9ab4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Android.mk
+0
-24
0 additions, 24 deletions
Android.mk
with
0 additions
and
24 deletions
Android.mk
+
0
−
24
View file @
2787c19f
...
...
@@ -2,30 +2,6 @@ LOCAL_PATH:= $(call my-dir)
include
$(LOCAL_PATH)/definitions.mk
# PLATFORM_SEPOLICY_VERSION is a number of the form "NN.m" with "NN" mapping to
# PLATFORM_SDK_VERSION and "m" as a minor number which allows for SELinux
# changes independent of PLATFORM_SDK_VERSION. This value will be set to
# 10000.0 to represent tip-of-tree development that is inherently unstable and
# thus designed not to work with any shipping vendor policy. This is similar in
# spirit to how DEFAULT_APP_TARGET_SDK is set.
# The minor version ('m' component) must be updated every time a platform release
# is made which breaks compatibility with the previous platform sepolicy version,
# not just on every increase in PLATFORM_SDK_VERSION. The minor version should
# be reset to 0 on every bump of the PLATFORM_SDK_VERSION.
sepolicy_major_vers
:=
27
sepolicy_minor_vers
:=
0
ifneq
($(sepolicy_major_vers), $(PLATFORM_SDK_VERSION))
$(
error
sepolicy_major_version does not match PLATFORM_SDK_VERSION, please update.
)
endif
ifneq
(REL,$(PLATFORM_VERSION_CODENAME))
sepolicy_major_vers
:=
10000
sepolicy_minor_vers
:=
0
endif
PLATFORM_SEPOLICY_VERSION
:=
$(
join
$(
addsuffix .,
$(
sepolicy_major_vers
))
,
$(
sepolicy_minor_vers
))
sepolicy_major_vers
:=
sepolicy_minor_vers
:=
include
$(CLEAR_VARS)
# SELinux policy version.
# Must be <= /sys/fs/selinux/policyvers reported by the Android kernel.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment