Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
7aad3b3b
Commit
7aad3b3b
authored
7 years ago
by
Daniel Cashman
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove BOARD_SEPOLICY_VERS_DIR build variable." into oc-dev
parents
11620416
6bf50e5c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Android.mk
+2
-12
2 additions, 12 deletions
Android.mk
with
2 additions
and
12 deletions
Android.mk
+
2
−
12
View file @
7aad3b3b
...
@@ -89,20 +89,10 @@ REQD_MASK_POLICY := $(LOCAL_PATH)/reqd_mask
...
@@ -89,20 +89,10 @@ REQD_MASK_POLICY := $(LOCAL_PATH)/reqd_mask
# version identifier corresponding to the sepolicy on which the non-platform
# version identifier corresponding to the sepolicy on which the non-platform
# policy is to be based. If unspecified, this will build against the current
# policy is to be based. If unspecified, this will build against the current
# public platform policy in tree
# public platform policy in tree
# BOARD_SEPOLICY_VERS_DIR should contain the public platform policy which
# is associated with the given BOARD_SEPOLICY_VERS. The policy therein will be
# versioned according to the BOARD_SEPOLICY_VERS identifier and included as
# part of the non-platform policy to ensure removal of access in future
# platform policy does not break non-platform policy.
ifndef
BOARD_SEPOLICY_VERS
ifndef
BOARD_SEPOLICY_VERS
$(
warning
BOARD_SEPOLICY_VERS not specified, assuming current platform version
)
$(
warning
BOARD_SEPOLICY_VERS not specified, assuming current platform version
)
# The default platform policy version.
# The default platform policy version.
BOARD_SEPOLICY_VERS
:=
$(
PLATFORM_SEPOLICY_VERSION
)
BOARD_SEPOLICY_VERS
:=
$(
PLATFORM_SEPOLICY_VERSION
)
BOARD_SEPOLICY_VERS_DIR
:=
$(
PLAT_PUBLIC_POLICY
)
else
ifndef
BOARD_SEPOLICY_VERS_DIR
$(
error
BOARD_SEPOLICY_VERS_DIR not specified
for
versioned sepolicy.
)
endif
endif
endif
###########################################################
###########################################################
...
@@ -246,7 +236,7 @@ $(plat_pub_policy.conf): PRIVATE_TGT_ARCH := $(my_target_arch)
...
@@ -246,7 +236,7 @@ $(plat_pub_policy.conf): PRIVATE_TGT_ARCH := $(my_target_arch)
$(plat_pub_policy.conf)
:
PRIVATE_TGT_WITH_ASAN := $(with_asan)
$(plat_pub_policy.conf)
:
PRIVATE_TGT_WITH_ASAN := $(with_asan)
$(plat_pub_policy.conf)
:
PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS)
$(plat_pub_policy.conf)
:
PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS)
$(plat_pub_policy.conf)
:
$(call build_policy
,
$(sepolicy_build_files)
,
\
$(plat_pub_policy.conf)
:
$(call build_policy
,
$(sepolicy_build_files)
,
\
$(
BOARD_SEPOLICY_VERS_DIR
) $(REQD_MASK_POLICY))
$(
PLAT_PUBLIC_POLICY
) $(REQD_MASK_POLICY))
@
mkdir
-p
$(
dir
$@
)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
m4
$(
PRIVATE_ADDITIONAL_M4DEFS
)
\
$(
hide
)
m4
$(
PRIVATE_ADDITIONAL_M4DEFS
)
\
-D
mls_num_sens
=
$(
PRIVATE_MLS_SENS
)
-D
mls_num_cats
=
$(
PRIVATE_MLS_CATS
)
\
-D
mls_num_sens
=
$(
PRIVATE_MLS_SENS
)
-D
mls_num_cats
=
$(
PRIVATE_MLS_CATS
)
\
...
@@ -422,7 +412,7 @@ $(nonplat_policy.conf): PRIVATE_TGT_ARCH := $(my_target_arch)
...
@@ -422,7 +412,7 @@ $(nonplat_policy.conf): PRIVATE_TGT_ARCH := $(my_target_arch)
$(nonplat_policy.conf)
:
PRIVATE_TGT_WITH_ASAN := $(with_asan)
$(nonplat_policy.conf)
:
PRIVATE_TGT_WITH_ASAN := $(with_asan)
$(nonplat_policy.conf)
:
PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS)
$(nonplat_policy.conf)
:
PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS)
$(nonplat_policy.conf)
:
$(call build_policy
,
$(sepolicy_build_files)
,
\
$(nonplat_policy.conf)
:
$(call build_policy
,
$(sepolicy_build_files)
,
\
$(
BOARD_SEPOLICY_VERS_DIR
) $(REQD_MASK_POLICY) $(PLAT_VENDOR_POLICY) $(BOARD_SEPOLICY_DIRS))
$(
PLAT_PUBLIC_POLICY
) $(REQD_MASK_POLICY) $(PLAT_VENDOR_POLICY) $(BOARD_SEPOLICY_DIRS))
@
mkdir
-p
$(
dir
$@
)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
m4
$(
PRIVATE_ADDITIONAL_M4DEFS
)
\
$(
hide
)
m4
$(
PRIVATE_ADDITIONAL_M4DEFS
)
\
-D
mls_num_sens
=
$(
PRIVATE_MLS_SENS
)
-D
mls_num_cats
=
$(
PRIVATE_MLS_CATS
)
\
-D
mls_num_sens
=
$(
PRIVATE_MLS_SENS
)
-D
mls_num_cats
=
$(
PRIVATE_MLS_CATS
)
\
...
...
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