diff options
Diffstat (limited to 'toolbox/Android.mk')
-rw-r--r-- | toolbox/Android.mk | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk index be95e7c..2c1ba42 100644 --- a/toolbox/Android.mk +++ b/toolbox/Android.mk @@ -56,11 +56,7 @@ TOOLS := \ ionice \ touch \ lsof \ - md5 - -ifeq ($(HAVE_SELINUX),true) - -TOOLS += \ + md5 \ getenforce \ setenforce \ chcon \ @@ -70,9 +66,6 @@ TOOLS += \ setsebool \ load_policy -endif - - ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) TOOLS += r endif @@ -82,17 +75,13 @@ LOCAL_SRC_FILES:= \ toolbox.c \ $(patsubst %,%.c,$(TOOLS)) -LOCAL_SHARED_LIBRARIES := libcutils libc libusbhost - LOCAL_C_INCLUDES := bionic/libc/bionic -ifeq ($(HAVE_SELINUX),true) - -LOCAL_CFLAGS += -DHAVE_SELINUX -LOCAL_SHARED_LIBRARIES += libselinux -LOCAL_C_INCLUDES += external/libselinux/include - -endif +LOCAL_SHARED_LIBRARIES := \ + libcutils \ + libc \ + libusbhost \ + libselinux LOCAL_MODULE:= toolbox |