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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
5476d347
Commit
5476d347
authored
7 years ago
by
Max Bires
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Adding module for selinux bug metadata feature"
parents
7688161c
ab7732d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Android.mk
+24
-0
24 additions, 0 deletions
Android.mk
with
24 additions
and
0 deletions
Android.mk
+
24
−
0
View file @
5476d347
...
...
@@ -230,6 +230,12 @@ ifneq ($(PRODUCT_FULL_TREBLE),true)
LOCAL_REQUIRED_MODULES
+=
nonplat_service_contexts
endif
ifneq
($(TARGET_BUILD_VARIANT), user)
LOCAL_REQUIRED_MODULES
+=
\
selinux_denial_metadata
\
endif
ifneq
($(with_asan),true)
LOCAL_REQUIRED_MODULES
+=
\
sepolicy_tests
\
...
...
@@ -672,6 +678,24 @@ file_contexts.device.sorted.tmp :=
file_contexts.device.tmp
:=
file_contexts.local.tmp
:=
##################################
ifneq
($(TARGET_BUILD_VARIANT), user)
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
selinux_denial_metadata
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_PATH
:=
$(
TARGET_OUT
)
/etc/selinux
include
$(BUILD_SYSTEM)/base_rules.mk
bug_files
:=
$(
call build_policy, bug_map,
$(
LOCAL_PATH
)
$(
PLAT_PRIVATE_POLICY
)
$(
PLAT_VENDOR_POLICY
)
$(
BOARD_SEPOLICY_DIRS
)
$(
PLAT_PUBLIC_POLICY
))
$(LOCAL_BUILT_MODULE)
:
$(bug_files)
@
mkdir
-p
$(
dir
$@
)
cat
$^
>
$@
bug_files
:=
endif
##################################
include
$(CLEAR_VARS)
...
...
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