aboutsummaryrefslogtreecommitdiff
path: root/test/Android.mk
diff options
context:
space:
mode:
authoralered01 <Alex.Redshaw@arm.com>2020-04-03 15:37:24 +0100
committeralered01 <Alex.Redshaw@arm.com>2020-04-03 17:11:01 +0100
commit7c395b200ae7ec2d5999dfecd84a79bcfb94eb19 (patch)
treeb8f719137fbd95c35789cf8464cfc09cccd019ed /test/Android.mk
parent871fe6dc35bb5dfb0a855910bd4fb004ed0f7e72 (diff)
downloadandroid-nn-driver-7c395b200ae7ec2d5999dfecd84a79bcfb94eb19.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: I5ef5776010399dd2d2d48958465daf4b71e4f825 Signed-off-by: alered01 <Alex.Redshaw@arm.com>
Diffstat (limited to 'test/Android.mk')
-rw-r--r--test/Android.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Android.mk b/test/Android.mk
index 0448d187..17def765 100644
--- a/test/Android.mk
+++ b/test/Android.mk
@@ -112,7 +112,7 @@ LOCAL_SHARED_LIBRARIES+= \
android.hardware.neuralnetworks@1.3
endif # R or later
-ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1)
+ifeq ($(ARMNN_INCLUDE_LIBOPENCL),1)
LOCAL_SHARED_LIBRARIES+= \
libOpenCL
endif
@@ -221,7 +221,7 @@ LOCAL_SHARED_LIBRARIES+= \
android.hardware.neuralnetworks@1.3
endif # R or later
-ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1)
+ifeq ($(ARMNN_INCLUDE_LIBOPENCL),1)
LOCAL_SHARED_LIBRARIES+= \
libOpenCL
endif
@@ -323,7 +323,7 @@ LOCAL_SHARED_LIBRARIES+= \
android.hardware.neuralnetworks@1.3
endif # R or later
-ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1)
+ifeq ($(ARMNN_INCLUDE_LIBOPENCL),1)
LOCAL_SHARED_LIBRARIES+= \
libOpenCL
endif