su: Introduce conditional for building

Do not build the standard su binary when FP2_USE_APPOPS_SU is set to
true. This mechanism allows for building of an alternative su binary,
for example to allow for superuser access by applications.

Issue: FP2P-458
Issue: FP2A10-127
Change-Id: Ib7eb0e4dba9cf89a80b8ade286369cfeca7492c0
diff --git a/su/Android.mk b/su/Android.mk
index e3da4f2..2a72ef4 100644
--- a/su/Android.mk
+++ b/su/Android.mk
@@ -1,3 +1,4 @@
+ifneq ($(FP2_USE_APPOPS_SU),true)
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
@@ -10,3 +11,4 @@
 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
 
 include $(BUILD_EXECUTABLE)
+endif