diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk index 0ac82ba99..3bed65081 100644 --- a/Android.mk +++ b/Android.mk @@ -390,7 +390,15 @@ ifeq ($(TW_INCLUDE_DUMLOCK), true) endif ifneq ($(TW_EXCLUDE_SUPERSU), true) LOCAL_ADDITIONAL_DEPENDENCIES += \ - su install-recovery.sh 99SuperSUDaemon Superuser.apk + install-recovery.sh 99SuperSUDaemon Superuser.apk + ifeq ($(TARGET_ARCH), arm) + LOCAL_ADDITIONAL_DEPENDENCIES += \ + chattr.pie libsupol.so suarm supolicy + endif + ifeq ($(TARGET_ARCH), arm64) + LOCAL_ADDITIONAL_DEPENDENCIES += \ + libsupol.soarm64 suarm64 supolicyarm64 + endif endif ifneq ($(TW_NO_EXFAT_FUSE), true) LOCAL_ADDITIONAL_DEPENDENCIES += exfat-fuse |