David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 1 | # |
| 2 | # Copyright © 2017 ARM Ltd. All rights reserved. |
| 3 | # SPDX-License-Identifier: MIT |
| 4 | # |
| 5 | |
| 6 | # COMMON_SOURCES contains the list of files to be included |
| 7 | # in the Android build and it is picked up by the Android.mk |
| 8 | # file in the root of ArmNN |
| 9 | |
| 10 | COMMON_SOURCES := \ |
David Beck | 32cbb0c | 2018-10-09 15:46:08 +0100 | [diff] [blame] | 11 | BackendRegistry.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 12 | CpuTensorHandle.cpp \ |
Matteo Martincigh | e54aa06 | 2019-08-05 14:12:11 +0100 | [diff] [blame] | 13 | DynamicBackend.cpp \ |
| 14 | DynamicBackendUtils.cpp \ |
Matteo Martincigh | d0dc770 | 2019-08-01 17:09:03 +0100 | [diff] [blame] | 15 | IBackendInternal.cpp \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 16 | ITensorHandleFactory.cpp \ |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 17 | LayerSupportBase.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 18 | MemCopyWorkload.cpp \ |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 19 | MemImportWorkload.cpp \ |
| 20 | MemSyncWorkload.cpp \ |
Derek Lamberti | c2fe5fb | 2019-05-08 10:23:08 +0100 | [diff] [blame] | 21 | OptimizationViews.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 22 | OutputHandler.cpp \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 23 | TensorHandleFactoryRegistry.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 24 | WorkloadData.cpp \ |
Matteo Martincigh | 747ef82 | 2018-12-18 09:26:39 +0000 | [diff] [blame] | 25 | WorkloadFactory.cpp \ |
| 26 | WorkloadUtils.cpp |
Aron Virginas-Tar | ceae3aa | 2018-10-18 10:39:38 +0100 | [diff] [blame] | 27 | |
| 28 | # COMMON_TEST_SOURCES contains the list of files to be included |
| 29 | # in the Android unit test build (armnn-tests) and it is picked |
| 30 | # up by the Android.mk file in the root of ArmNN |
| 31 | |
| 32 | COMMON_TEST_SOURCES := \ |
Matteo Martincigh | f02e6cd | 2019-05-17 12:15:30 +0100 | [diff] [blame] | 33 | test/CommonTestUtils.cpp \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 34 | test/JsonPrinterTestImpl.cpp \ |
| 35 | test/LayerTests.cpp \ |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 36 | test/TensorCopyUtils.cpp |
| 37 | |
| 38 | ifeq ($(ARMNN_COMPUTE_REF_ENABLED),1) |
| 39 | COMMON_TEST_SOURCES += \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 40 | test/WorkloadDataValidation.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 41 | endif # ARMNN_COMPUTE_REF_ENABLED == 1 |