From c7e3972cd8a127136c47137e044489c7f6de4dbb Mon Sep 17 00:00:00 2001 From: alered01 Date: Fri, 3 Apr 2020 15:37:13 +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: I2ad2e2e15b9619358199b106adf1eae642d0d3f6 Signed-off-by: alered01 --- Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Android.mk') 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 -- cgit v1.2.1