diff options
author | Kenny Root <kroot@android.com> | 2012-03-31 00:18:10 +0200 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-03-31 00:18:11 +0200 |
commit | 155cd3c155004433215147437cdf71844c9efd87 (patch) | |
tree | 46aacb687e7126a5a64949dd7ade2f284ee57c15 /Android.mk | |
parent | Reconcile with ics-mr1-release (diff) | |
parent | Extend recovery and updater to support setting file security contexts. (diff) | |
download | android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.gz android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.bz2 android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.lz android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.xz android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.tar.zst android_bootable_recovery-155cd3c155004433215147437cdf71844c9efd87.zip |
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index 282862fc9..251c92068 100644 --- a/Android.mk +++ b/Android.mk @@ -26,6 +26,12 @@ LOCAL_C_INCLUDES += system/extras/ext4_utils LOCAL_STATIC_LIBRARIES += libext4_utils libz endif +ifeq ($(HAVE_SELINUX), true) +LOCAL_C_INCLUDES += external/libselinux/include +LOCAL_STATIC_LIBRARIES += libselinux +LOCAL_CFLAGS += -DHAVE_SELINUX +endif # HAVE_SELINUX + # 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 # a (redundant) copy of the binary in /system/bin for user builds. @@ -43,6 +49,12 @@ LOCAL_STATIC_LIBRARIES += libminzip libunz libmtdutils libmincrypt LOCAL_STATIC_LIBRARIES += libminui libpixelflinger_static libpng libcutils LOCAL_STATIC_LIBRARIES += libstdc++ libc +ifeq ($(HAVE_SELINUX),true) +LOCAL_C_INCLUDES += external/libselinux/include +LOCAL_STATIC_LIBRARIES += libselinux +LOCAL_CFLAGS += -DHAVE_SELINUX +endif # HAVE_SELINUX + LOCAL_C_INCLUDES += system/extras/ext4_utils include $(BUILD_EXECUTABLE) |