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
f3a6adfd
Commit
f3a6adfd
authored
7 years ago
by
Hung-ying Tyan
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Don't create nonplat_service_contexts on full_treble devices am:
e83f1e56
am:
0d5bca44
am:
e06f443c
Change-Id: Ib2245d6767275440d9c0ad775222d8c923e0281f
parents
d79a822f
e06f443c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Android.mk
+9
-5
9 additions, 5 deletions
Android.mk
CleanSpec.mk
+3
-0
3 additions, 0 deletions
CleanSpec.mk
with
12 additions
and
5 deletions
Android.mk
+
9
−
5
View file @
f3a6adfd
...
@@ -216,7 +216,6 @@ LOCAL_REQUIRED_MODULES += \
...
@@ -216,7 +216,6 @@ LOCAL_REQUIRED_MODULES += \
nonplat_mac_permissions.xml
\
nonplat_mac_permissions.xml
\
nonplat_property_contexts
\
nonplat_property_contexts
\
nonplat_seapp_contexts
\
nonplat_seapp_contexts
\
nonplat_service_contexts
\
nonplat_hwservice_contexts
\
nonplat_hwservice_contexts
\
plat_file_contexts
\
plat_file_contexts
\
plat_mac_permissions.xml
\
plat_mac_permissions.xml
\
...
@@ -226,6 +225,10 @@ LOCAL_REQUIRED_MODULES += \
...
@@ -226,6 +225,10 @@ LOCAL_REQUIRED_MODULES += \
plat_hwservice_contexts
\
plat_hwservice_contexts
\
vndservice_contexts
\
vndservice_contexts
\
ifneq
($(PRODUCT_FULL_TREBLE),true)
LOCAL_REQUIRED_MODULES
+=
nonplat_service_contexts
endif
include
$(BUILD_PHONY_PACKAGE)
include
$(BUILD_PHONY_PACKAGE)
##################################
##################################
...
@@ -947,16 +950,15 @@ plat_svcfiles :=
...
@@ -947,16 +950,15 @@ plat_svcfiles :=
plat_service_contexts.tmp
:=
plat_service_contexts.tmp
:=
##################################
##################################
# nonplat_service_contexts is only allowed on non-full-treble devices
ifneq
($(PRODUCT_FULL_TREBLE),true)
include
$(CLEAR_VARS)
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
nonplat_service_contexts
LOCAL_MODULE
:=
nonplat_service_contexts
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE_TAGS
:=
optional
ifeq
($(PRODUCT_FULL_TREBLE),true)
LOCAL_MODULE_PATH
:=
$(
TARGET_OUT_VENDOR
)
/etc/selinux
else
LOCAL_MODULE_PATH
:=
$(
TARGET_ROOT_OUT
)
LOCAL_MODULE_PATH
:=
$(
TARGET_ROOT_OUT
)
endif
include
$(BUILD_SYSTEM)/base_rules.mk
include
$(BUILD_SYSTEM)/base_rules.mk
...
@@ -979,6 +981,8 @@ built_nonplat_svc := $(LOCAL_BUILT_MODULE)
...
@@ -979,6 +981,8 @@ built_nonplat_svc := $(LOCAL_BUILT_MODULE)
nonplat_svcfiles
:=
nonplat_svcfiles
:=
nonplat_service_contexts.tmp
:=
nonplat_service_contexts.tmp
:=
endif
##################################
##################################
include
$(CLEAR_VARS)
include
$(CLEAR_VARS)
...
...
This diff is collapsed.
Click to expand it.
CleanSpec.mk
+
3
−
0
View file @
f3a6adfd
...
@@ -71,3 +71,6 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/selinux/mapping_sepolicy
...
@@ -71,3 +71,6 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/selinux/mapping_sepolicy
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/system/etc/selinux/plat_sepolicy.cil.sha256
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/system/etc/selinux/plat_sepolicy.cil.sha256
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/vendor/etc/selinux/precompiled_sepolicy.plat.sha256
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/vendor/etc/selinux/precompiled_sepolicy.plat.sha256
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/system/etc/selinux/mapping_sepolicy.cil
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/system/etc/selinux/mapping_sepolicy.cil
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/vendor/etc/selinux/nonplat_service_contexts
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/obj/ETC/nonplat_service_contexts_intermediates
)
$(
call
add-clean-step,
rm
-rf
$(
PRODUCT_OUT
)
/obj/NOTICE_FILES/src/vendor/etc/selinux/nonplat_service_contexts.txt
)
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