aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7f6cb7abea..4262246680 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,6 +5,14 @@
LOCAL_PATH := $(call my-dir)
+ARMNN_ANDROID_MK_ENABLED := 1
+
+ifeq ($(ARMNN_ANDROID_MK_ENABLE),0)
+ARMNN_ANDROID_MK_ENABLED := 0
+endif
+
+ifeq ($(ARMNN_ANDROID_MK_ENABLED),1)
+
# Configure these paths if you move the source or Khronos headers
ARMNN_GENERATED_HEADER_PATH := $(LOCAL_PATH)/generated
OPENCL_HEADER_PATH := $(LOCAL_PATH)/../clframework/include
@@ -523,3 +531,5 @@ LOCAL_SHARED_LIBRARIES += \
endif
include $(BUILD_EXECUTABLE)
+
+endif # ARMNN_ENABLE