Add libselinux for CM10.2 tree

Change-Id: I94979806935546fa40a87611be5185c14b557377
This commit is contained in:
Dees_Troy
2013-08-06 18:01:12 +00:00
parent bdafe306fa
commit f2280ffd42
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -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