summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2012-02-02 13:31:21 -0500
committerStephen Smalley <sds@tycho.nsa.gov>2012-02-02 13:31:21 -0500
commit6670f53f78cd44a6cb484785b2837439e2ba9178 (patch)
treed7483765a0ba6af92dbdb30aaf79d278b3493eb2
parentd409de2efd8c6ddc3929d1a5b79ab3163b65542c (diff)
downloadlibselinux-6670f53f78cd44a6cb484785b2837439e2ba9178.tar.gz
Do not build if HAVE_SELINUX=false.
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index b530040..c8d5083 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,3 +1,5 @@
+ifeq ($(HAVE_SELINUX), true)
+
LOCAL_PATH:= $(call my-dir)
common_SRC_FILES := \
@@ -68,3 +70,5 @@ LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
LOCAL_PRELINK_MODULE := false
include $(BUILD_SHARED_LIBRARY)
+
+endif # ifeq ($(HAVE_SELINUX, true)