blob: 39e026518fd0e9ada10a333b7de85e102d19667e [file] [log] [blame]
David Beckb30c5332018-09-28 16:51:01 +01001#
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
10COMMON_SOURCES := \
David Beck32cbb0c2018-10-09 15:46:08 +010011 BackendRegistry.cpp \
David Beckb30c5332018-09-28 16:51:01 +010012 CpuTensorHandle.cpp \
Matteo Martincighe54aa062019-08-05 14:12:11 +010013 DynamicBackend.cpp \
14 DynamicBackendUtils.cpp \
Matteo Martincighd0dc7702019-08-01 17:09:03 +010015 IBackendInternal.cpp \
Derek Lamberti84da38b2019-06-13 11:40:08 +010016 ITensorHandleFactory.cpp \
Matteo Martincigh992d6dc2019-01-10 17:34:20 +000017 LayerSupportBase.cpp \
David Beckb30c5332018-09-28 16:51:01 +010018 MemCopyWorkload.cpp \
Derek Lambertif674aa02019-08-01 15:56:25 +010019 MemImportWorkload.cpp \
20 MemSyncWorkload.cpp \
Derek Lambertic2fe5fb2019-05-08 10:23:08 +010021 OptimizationViews.cpp \
David Beckb30c5332018-09-28 16:51:01 +010022 OutputHandler.cpp \
Derek Lamberti84da38b2019-06-13 11:40:08 +010023 TensorHandleFactoryRegistry.cpp \
David Beckb30c5332018-09-28 16:51:01 +010024 WorkloadData.cpp \
Matteo Martincigh747ef822018-12-18 09:26:39 +000025 WorkloadFactory.cpp \
26 WorkloadUtils.cpp
Aron Virginas-Tarceae3aa2018-10-18 10:39:38 +010027
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
32COMMON_TEST_SOURCES := \
Matteo Martincighf02e6cd2019-05-17 12:15:30 +010033 test/CommonTestUtils.cpp \
Aron Virginas-Tar69362cc2018-11-22 15:04:42 +000034 test/JsonPrinterTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010035 test/TensorCopyUtils.cpp \
Sadik Armagan9199e582019-09-05 17:35:31 +010036 test/layerTests/AbsTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010037 test/layerTests/ActivationTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010038 test/layerTests/AdditionTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010039 test/layerTests/BatchNormalizationTestImpl.cpp \
40 test/layerTests/ConcatTestImpl.cpp \
41 test/layerTests/ConstantTestImpl.cpp \
42 test/layerTests/Conv2dTestImpl.cpp \
43 test/layerTests/ConvertFp16ToFp32TestImpl.cpp \
44 test/layerTests/ConvertFp32ToFp16TestImpl.cpp \
45 test/layerTests/DebugTestImpl.cpp \
46 test/layerTests/DequantizeTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010047 test/layerTests/DivisionTestImpl.cpp \
48 test/layerTests/EqualTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010049 test/layerTests/FakeQuantizationTestImpl.cpp \
50 test/layerTests/FloorTestImpl.cpp \
51 test/layerTests/FullyConnectedTestImpl.cpp \
52 test/layerTests/GatherTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010053 test/layerTests/GreaterTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010054 test/layerTests/L2NormalizationTestImpl.cpp \
55 test/layerTests/LstmTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010056 test/layerTests/MaximumTestImpl.cpp \
57 test/layerTests/MinimumTestImpl.cpp \
58 test/layerTests/MultiplicationTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010059 test/layerTests/NormalizationTestImpl.cpp \
60 test/layerTests/PadTestImpl.cpp \
61 test/layerTests/Pooling2dTestImpl.cpp \
62 test/layerTests/ReshapeTestImpl.cpp \
63 test/layerTests/RsqrtTestImpl.cpp \
64 test/layerTests/QuantizeTestImpl.cpp \
65 test/layerTests/SoftmaxTestImpl.cpp \
66 test/layerTests/SpaceToBatchNdTestImpl.cpp \
67 test/layerTests/SpaceToDepthTestImpl.cpp \
68 test/layerTests/SplitterTestImpl.cpp \
Matthew Jacksone69c3992019-09-09 14:31:21 +010069 test/layerTests/StackTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010070 test/layerTests/StridedSliceTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010071 test/layerTests/SubtractionTestImpl.cpp
Matteo Martincighe67edb22019-08-14 14:05:46 +010072
Matteo Martincighedd6fdc2019-08-29 18:27:18 +010073ifeq ($(ARMNN_REF_ENABLED),1)
Matteo Martincighe67edb22019-08-14 14:05:46 +010074COMMON_TEST_SOURCES += \
Aron Virginas-Tar69362cc2018-11-22 15:04:42 +000075 test/WorkloadDataValidation.cpp
Matteo Martincighedd6fdc2019-08-29 18:27:18 +010076endif # ARMNN_REF_ENABLED == 1