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
228e342c
Commit
228e342c
authored
Jan 20, 2017
by
Alex Klyubin
Committed by
android-build-merger
Jan 20, 2017
Browse files
Options
Downloads
Plain Diff
Merge "Fix bugs in *_file_contexts targets" am:
937be2b4
am:
f83bc221
am:
a2aab1c0
Change-Id: I1d4803a4c71472f752f0be2dc80d108a14c808d9
parents
77fb2b86
a2aab1c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Android.mk
+10
-5
10 additions, 5 deletions
Android.mk
with
10 additions
and
5 deletions
Android.mk
+
10
−
5
View file @
228e342c
...
...
@@ -666,16 +666,21 @@ local_fc_files := $(PLAT_PRIVATE_POLICY)/file_contexts
ifneq
($(filter address,$(SANITIZE_TARGET)),)
local_fc_files
+=
$(
PLAT_PRIVATE_POLICY
)
/file_contexts_asan
endif
local_fcfiles_with_nl
:=
$(
call add_nl,
$(
local_fc_files
)
,
$(
built_nl
))
$(LOCAL_BUILT_MODULE)
:
PRIVATE_FC_FILES := $(local_fcfiles)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_FC_FILES := $(local_fcfiles
_with_nl
)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_SEPOLICY := $(built_sepolicy)
$(LOCAL_BUILT_MODULE)
:
$(HOST_OUT_EXECUTABLES)/checkfc $(local_fcfiles) $(built_sepolicy)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_FC_SORT := $(HOST_OUT_EXECUTABLES)/fc_sort
$(LOCAL_BUILT_MODULE)
:
$(HOST_OUT_EXECUTABLES)/checkfc $(HOST_OUT_EXECUTABLES)/fc_sort
\
$(local_fcfiles_with_nl) $(built_sepolicy)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
m4
-s
$(
PRIVATE_FC_FILES
)
>
$@
$(
hide
)
$<
$(
PRIVATE_SEPOLICY
)
$@
$(
hide
)
m4
-s
$(
PRIVATE_FC_FILES
)
>
$@
.tmp
$(
hide
)
$<
$(
PRIVATE_SEPOLICY
)
$@
.tmp
$(
hide
)
$(
PRIVATE_FC_SORT
)
$@
.tmp
$@
built_plat_fc
:=
$(
LOCAL_BUILT_MODULE
)
local_fc_files
:=
local_fcfiles_with_nl
:=
##################################
include
$(CLEAR_VARS)
...
...
@@ -694,7 +699,7 @@ $(LOCAL_BUILT_MODULE): PRIVATE_FC_FILES := $(nonplat_fcfiles_with_nl)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_SEPOLICY := $(built_sepolicy)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_FC_SORT := $(HOST_OUT_EXECUTABLES)/fc_sort
$(LOCAL_BUILT_MODULE)
:
$(HOST_OUT_EXECUTABLES)/checkfc $(HOST_OUT_EXECUTABLES)/fc_sort
\
$(
device
_fcfiles_with_nl) $(built_sepolicy)
$(
nonplat
_fcfiles_with_nl) $(built_sepolicy)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
m4
-s
$(
PRIVATE_ADDITIONAL_M4DEFS
)
$(
PRIVATE_FC_FILES
)
>
$@
.tmp
$(
hide
)
$<
$(
PRIVATE_SEPOLICY
)
$@
.tmp
...
...
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