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
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
d1d6b39d
Commit
d1d6b39d
authored
8 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Restrict BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIRS to one dir."
parents
c59a4222
1633da06
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Android.mk
+14
-2
14 additions, 2 deletions
Android.mk
with
14 additions
and
2 deletions
Android.mk
+
14
−
2
View file @
d1d6b39d
...
...
@@ -80,9 +80,21 @@ endif
# - compile output binary policy file
PLAT_PUBLIC_POLICY
:=
$(
LOCAL_PATH
)
/public
PLAT_PUBLIC_POLICY
+=
$(
BOARD_PLAT_PUBLIC_SEPOLICY_DIRS
)
ifneq
( ,$(BOARD_PLAT_PUBLIC_SEPOLICY_DIR))
ifneq
(1, $(words $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR)))
$(
error
BOARD_PLAT_PUBLIC_SEPOLICY_DIR must only contain one directory
)
else
PLAT_PUBLIC_POLICY
+=
$(
BOARD_PLAT_PUBLIC_SEPOLICY_DIR
)
endif
endif
PLAT_PRIVATE_POLICY
:=
$(
LOCAL_PATH
)
/private
PLAT_PRIVATE_POLICY
+=
$(
BOARD_PLAT_PRIVATE_SEPOLICY_DIRS
)
ifneq
( ,$(BOARD_PLAT_PRIVATE_SEPOLICY_DIR))
ifneq
(1, $(words $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR)))
$(
error
BOARD_PLAT_PRIVATE_SEPOLICY_DIR must only contain one directory
)
else
PLAT_PRIVATE_POLICY
+=
$(
BOARD_PLAT_PRIVATE_SEPOLICY_DIR
)
endif
endif
PLAT_VENDOR_POLICY
:=
$(
LOCAL_PATH
)
/vendor
REQD_MASK_POLICY
:=
$(
LOCAL_PATH
)
/reqd_mask
...
...
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