summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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