diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk index 1471db1b1..da06b9a60 100644 --- a/Android.mk +++ b/Android.mk @@ -73,6 +73,11 @@ ifeq ($(HAVE_SELINUX), true) #LOCAL_STATIC_LIBRARIES += libselinux #LOCAL_CFLAGS += -DHAVE_SELINUX -g endif # HAVE_SELINUX +ifneq ($(wildcard external/libselinux/Android.mk),) + LOCAL_C_INCLUDES += external/libselinux/include + LOCAL_STATIC_LIBRARIES += libselinux + LOCAL_CFLAGS += -DHAVE_SELINUX -g +endif # This binary is in the recovery ramdisk, which is otherwise a copy of root. # It gets copied there in config/Makefile. LOCAL_MODULE_TAGS suppresses @@ -293,8 +298,7 @@ include $(LOCAL_PATH)/minui/Android.mk \ $(LOCAL_PATH)/applypatch/Android.mk #includes for TWRP -include $(commands_recovery_local_path)/libjpegtwrp/Android.mk \ - $(commands_recovery_local_path)/injecttwrp/Android.mk \ +include $(commands_recovery_local_path)/injecttwrp/Android.mk \ $(commands_recovery_local_path)/htcdumlock/Android.mk \ $(commands_recovery_local_path)/gui/Android.mk \ $(commands_recovery_local_path)/mmcutils/Android.mk \ |