From 7c395b200ae7ec2d5999dfecd84a79bcfb94eb19 Mon Sep 17 00:00:00 2001 From: alered01 Date: Fri, 3 Apr 2020 15:37:24 +0100 Subject: 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 --- test/Android.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Android.mk') 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 -- cgit v1.2.1