summaryrefslogtreecommitdiff
path: root/debuggerd/Android.mk
diff options
context:
space:
mode:
authorrpcraig <rpcraig@tycho.ncsc.mil>2012-07-19 09:38:06 -0400
committerrpcraig <rpcraig@tycho.ncsc.mil>2012-07-19 09:38:06 -0400
commitf1186f3e980f5ebcc3380d8a7f746bf8a45e3531 (patch)
tree069324723c4e807abed9650e41c95753f9fdf0b1 /debuggerd/Android.mk
parentf694ba5f7fa81f250045c107e919888661a734ae (diff)
restorecon tombstone directory.
Restore the security contexts of tombstone directory when initially created. Change-Id: I25b53730991576eccb62ca57050decd584acc639 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Diffstat (limited to 'debuggerd/Android.mk')
-rw-r--r--debuggerd/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk
index 2a516fbed..fe4670688 100644
--- a/debuggerd/Android.mk
+++ b/debuggerd/Android.mk
@@ -25,6 +25,12 @@ endif # ARCH_ARM_HAVE_VFP_D32
LOCAL_SHARED_LIBRARIES := libcutils libc libcorkscrew
+ifeq ($(HAVE_SELINUX),true)
+LOCAL_SHARED_LIBRARIES += libselinux
+LOCAL_C_INCLUDES += external/libselinux/include
+LOCAL_CFLAGS += -DHAVE_SELINUX
+endif
+
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)