From f2280ffd42c667a9c950ed5a41ad0353cc8a06bf Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 6 Aug 2013 18:01:12 +0000 Subject: Add libselinux for CM10.2 tree Change-Id: I94979806935546fa40a87611be5185c14b557377 --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 183c79cc4..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 -- cgit v1.2.3