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
f83bc221
Commit
f83bc221
authored
8 years ago
by
Alex Klyubin
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix bugs in *_file_contexts targets"
am:
937be2b4
Change-Id: I39dcb15e40757ff4340f2c1996e09a1c8f0e1c58
parents
fb5495e1
937be2b4
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
+10
-5
10 additions, 5 deletions
Android.mk
with
10 additions
and
5 deletions
Android.mk
+
10
−
5
View file @
f83bc221
...
@@ -666,16 +666,21 @@ local_fc_files := $(PLAT_PRIVATE_POLICY)/file_contexts
...
@@ -666,16 +666,21 @@ local_fc_files := $(PLAT_PRIVATE_POLICY)/file_contexts
ifneq
($(filter address,$(SANITIZE_TARGET)),)
ifneq
($(filter address,$(SANITIZE_TARGET)),)
local_fc_files
+=
$(
PLAT_PRIVATE_POLICY
)
/file_contexts_asan
local_fc_files
+=
$(
PLAT_PRIVATE_POLICY
)
/file_contexts_asan
endif
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)
:
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
$@
)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
m4
-s
$(
PRIVATE_FC_FILES
)
>
$@
$(
hide
)
m4
-s
$(
PRIVATE_FC_FILES
)
>
$@
.tmp
$(
hide
)
$<
$(
PRIVATE_SEPOLICY
)
$@
$(
hide
)
$<
$(
PRIVATE_SEPOLICY
)
$@
.tmp
$(
hide
)
$(
PRIVATE_FC_SORT
)
$@
.tmp
$@
built_plat_fc
:=
$(
LOCAL_BUILT_MODULE
)
built_plat_fc
:=
$(
LOCAL_BUILT_MODULE
)
local_fc_files
:=
local_fc_files
:=
local_fcfiles_with_nl
:=
##################################
##################################
include
$(CLEAR_VARS)
include
$(CLEAR_VARS)
...
@@ -694,7 +699,7 @@ $(LOCAL_BUILT_MODULE): PRIVATE_FC_FILES := $(nonplat_fcfiles_with_nl)
...
@@ -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_SEPOLICY := $(built_sepolicy)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_FC_SORT := $(HOST_OUT_EXECUTABLES)/fc_sort
$(LOCAL_BUILT_MODULE)
:
PRIVATE_FC_SORT := $(HOST_OUT_EXECUTABLES)/fc_sort
$(LOCAL_BUILT_MODULE)
:
$(HOST_OUT_EXECUTABLES)/checkfc $(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
$@
)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
m4
-s
$(
PRIVATE_ADDITIONAL_M4DEFS
)
$(
PRIVATE_FC_FILES
)
>
$@
.tmp
$(
hide
)
m4
-s
$(
PRIVATE_ADDITIONAL_M4DEFS
)
$(
PRIVATE_FC_FILES
)
>
$@
.tmp
$(
hide
)
$<
$(
PRIVATE_SEPOLICY
)
$@
.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