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>
2 files changed
tree: b8f719137fbd95c35789cf8464cfc09cccd019ed
  1. .gitignore
  2. 1.0/
  3. 1.1/
  4. 1.2/
  5. 1.3/
  6. Android.bp
  7. Android.mk
  8. ArmnnDevice.cpp
  9. ArmnnDevice.hpp
  10. ArmnnDriver.hpp
  11. ArmnnDriverImpl.cpp
  12. ArmnnDriverImpl.hpp
  13. ArmnnPreparedModel.cpp
  14. ArmnnPreparedModel.hpp
  15. ArmnnPreparedModel_1_2.cpp
  16. ArmnnPreparedModel_1_2.hpp
  17. ArmnnPreparedModel_1_3.cpp
  18. ArmnnPreparedModel_1_3.hpp
  19. ConversionUtils.cpp
  20. ConversionUtils.hpp
  21. ConversionUtils_1_2.hpp
  22. ConversionUtils_1_3.hpp
  23. DriverOptions.cpp
  24. DriverOptions.hpp
  25. LICENSE
  26. ModelToINetworkConverter.cpp
  27. ModelToINetworkConverter.hpp
  28. NnapiSupport.txt
  29. README.md
  30. RequestThread.cpp
  31. RequestThread.hpp
  32. SystemPropertiesUtils.hpp
  33. Utils.cpp
  34. Utils.hpp
  35. android.hardware.neuralnetworks@1.0-service-armnn.rc
  36. android.hardware.neuralnetworks@1.1-service-armnn.rc
  37. android.hardware.neuralnetworks@1.2-service-armnn.rc
  38. android.hardware.neuralnetworks@1.3-service-armnn.rc
  39. docs/
  40. service.cpp
  41. setup.sh
  42. test/
README.md

ArmNN Android Neural Networks driver

This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1 and android.hardware.neuralnetworks@1.2 HALs.

For more information about supported operations and configurations, see NnapiSupport.txt

For documentation about integrating this driver into an Android tree, see Integrator Guide

For FAQs and troubleshooting advice, see FAQ.md

License

The android-nn-driver is provided under the MIT license. See LICENSE for more information. Contributions to this project are accepted under the same license.

Individual files contain the following tag instead of the full license text.

SPDX-License-Identifier: MIT

This enables machine processing of license information based on the SPDX License Identifiers that are available here: http://spdx.org/licenses/