summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-07-01 14:58:56 +0200
committerDees Troy <dees_troy@teamw.in>2015-10-16 22:49:19 +0200
commit11309e912dbd960ed30c26735bac02a7dd70a022 (patch)
treecd898ffbff24cdef00226a8b7db2d285861f3783 /Android.mk
parentgui: support conditions for listbox items (diff)
downloadandroid_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.tar
android_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.tar.gz
android_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.tar.bz2
android_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.tar.lz
android_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.tar.xz
android_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.tar.zst
android_bootable_recovery-11309e912dbd960ed30c26735bac02a7dd70a022.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index ed32528d5..dab1b1705 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,15 +17,20 @@ LOCAL_PATH := $(call my-dir)
ifdef project-path-for
ifeq ($(LOCAL_PATH),$(call project-path-for,recovery))
PROJECT_PATH_AGREES := true
+ BOARD_SEPOLICY_DIRS += bootable/recovery-twrp/sepolicy
endif
else
ifeq ($(LOCAL_PATH),bootable/recovery)
PROJECT_PATH_AGREES := true
+ BOARD_SEPOLICY_DIRS += bootable/recovery/sepolicy
endif
endif
ifeq ($(PROJECT_PATH_AGREES),true)
+# Make recovery domain permissive for TWRP
+BOARD_SEPOLICY_UNION += twrp.te
+
include $(CLEAR_VARS)
TWRES_PATH := "/twres/"