From: alered01 Date: Fri, 3 Apr 2020 14:37:13 +0000 (+0100) Subject: Add flow to exclude libOpenCL when building AndroidnNN X-Git-Tag: submit/tizen/20200730.023729~134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7e3972cd8a127136c47137e044489c7f6de4dbb;p=platform%2Fupstream%2Farmnn.git 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 --- diff --git a/Android.mk b/Android.mk index 6723deb..2cd6e50 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