summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2019-04-04 17:06:41 +0200
committerEthan Yonker <dees_troy@teamw.in>2019-04-04 17:06:41 +0200
commitf0a7e59668ef654a2e21789ad8be1ccae21c7e8d (patch)
tree84ae57a52d9c05166d7b5666496bfc33c04f878a
parentThree Dot Three Dot Zero (diff)
downloadandroid_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.tar
android_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.tar.gz
android_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.tar.bz2
android_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.tar.lz
android_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.tar.xz
android_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.tar.zst
android_bootable_recovery-f0a7e59668ef654a2e21789ad8be1ccae21c7e8d.zip
-rwxr-xr-xAndroid.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index e5220a5ed..a25224428 100755
--- a/Android.mk
+++ b/Android.mk
@@ -24,6 +24,13 @@ else
ifeq ($(LOCAL_PATH),bootable/recovery)
PROJECT_PATH_AGREES := true
BOARD_SEPOLICY_DIRS += bootable/recovery/sepolicy
+ else
+ ifeq ($(LOCAL_PATH),bootable/recovery-twrp)
+ ifeq ($(RECOVERY_VARIANT),twrp)
+ PROJECT_PATH_AGREES := true
+ BOARD_SEPOLICY_DIRS += bootable/recovery-twrp/sepolicy
+ endif
+ endif
endif
endif