aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authoralered01 <Alex.Redshaw@arm.com>2020-04-03 15:37:13 +0100
committeralered01 <Alex.Redshaw@arm.com>2020-04-03 16:08:46 +0100
commitc7e3972cd8a127136c47137e044489c7f6de4dbb (patch)
tree627a1eb7dd1e3962123ab932ae13163672e43f4e /Android.mk
parentc26400eb76cd0a95e5044467b8a70c44b2af05be (diff)
downloadarmnn-c7e3972cd8a127136c47137e044489c7f6de4dbb.tar.gz
Add flow to exclude libOpenCL when building AndroidnNN
When building AndroidNN for a commercial silicon device, there's no need to include libOpenCL as we should be able to use the one already on the device Change-Id: I2ad2e2e15b9619358199b106adf1eae642d0d3f6 Signed-off-by: alered01 <Alex.Redshaw@arm.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 6723debbe3..2cd6e50c3b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -421,7 +421,7 @@ LOCAL_SHARED_LIBRARIES := \
android.hidl.allocator@1.0 \
android.hidl.memory@1.0
-ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1)
+ifeq ($(ARMNN_INCLUDE_LIBOPENCL),1)
LOCAL_SHARED_LIBRARIES += \
libOpenCL
endif