diff options
author | alered01 <Alex.Redshaw@arm.com> | 2020-04-03 15:37:24 +0100 |
---|---|---|
committer | alered01 <Alex.Redshaw@arm.com> | 2020-04-03 17:11:01 +0100 |
commit | 7c395b200ae7ec2d5999dfecd84a79bcfb94eb19 (patch) | |
tree | b8f719137fbd95c35789cf8464cfc09cccd019ed /test | |
parent | 871fe6dc35bb5dfb0a855910bd4fb004ed0f7e72 (diff) | |
download | android-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')
-rw-r--r-- | test/Android.mk | 6 |
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 |