blob: 5fc24c3ff5e98853c6c00cfa29436f5464ec1f74 [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 Beckb30c5332018-09-28 16:51:01 +010011 CpuTensorHandle.cpp \
Matteo Martincighe54aa062019-08-05 14:12:11 +010012 DynamicBackend.cpp \
13 DynamicBackendUtils.cpp \
Matteo Martincighd0dc7702019-08-01 17:09:03 +010014 IBackendInternal.cpp \
Derek Lamberti84da38b2019-06-13 11:40:08 +010015 ITensorHandleFactory.cpp \
Matteo Martincigh992d6dc2019-01-10 17:34:20 +000016 LayerSupportBase.cpp \
David Beckb30c5332018-09-28 16:51:01 +010017 MemCopyWorkload.cpp \
Derek Lambertif674aa02019-08-01 15:56:25 +010018 MemImportWorkload.cpp \
19 MemSyncWorkload.cpp \
Derek Lambertic2fe5fb2019-05-08 10:23:08 +010020 OptimizationViews.cpp \
David Beckb30c5332018-09-28 16:51:01 +010021 OutputHandler.cpp \
Derek Lamberti84da38b2019-06-13 11:40:08 +010022 TensorHandleFactoryRegistry.cpp \
David Beckb30c5332018-09-28 16:51:01 +010023 WorkloadData.cpp \
Matteo Martincigh747ef822018-12-18 09:26:39 +000024 WorkloadFactory.cpp \
25 WorkloadUtils.cpp
Aron Virginas-Tarceae3aa2018-10-18 10:39:38 +010026
27# COMMON_TEST_SOURCES contains the list of files to be included
28# in the Android unit test build (armnn-tests) and it is picked
29# up by the Android.mk file in the root of ArmNN
30
31COMMON_TEST_SOURCES := \
Matteo Martincighf02e6cd2019-05-17 12:15:30 +010032 test/CommonTestUtils.cpp \
Sadik Armagan062e0e92019-10-14 10:31:43 +010033 test/InstanceNormalizationEndToEndTestImpl.cpp \
Aron Virginas-Tar69362cc2018-11-22 15:04:42 +000034 test/JsonPrinterTestImpl.cpp \
Sadik Armagan20bea002019-10-16 09:29:38 +010035 test/LogSoftmaxEndToEndTestImpl.cpp \
Aron Virginas-Tar46ff1ca2019-09-12 11:03:09 +010036 test/QuantizedLstmEndToEndTestImpl.cpp \
Aron Virginas-Tarf97f6da2019-10-01 18:35:44 +010037 test/SpaceToDepthEndToEndTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010038 test/TensorCopyUtils.cpp \
Sadik Armagan9199e582019-09-05 17:35:31 +010039 test/layerTests/AbsTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010040 test/layerTests/ActivationTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010041 test/layerTests/AdditionTestImpl.cpp \
Nikhil Raj68c2c902019-09-19 11:21:11 +010042 test/layerTests/ArgMinMaxTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010043 test/layerTests/BatchNormalizationTestImpl.cpp \
Aron Virginas-Tar3bc00ec2019-10-18 15:42:58 +010044 test/layerTests/ComparisonTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010045 test/layerTests/ConcatTestImpl.cpp \
46 test/layerTests/ConstantTestImpl.cpp \
47 test/layerTests/Conv2dTestImpl.cpp \
48 test/layerTests/ConvertFp16ToFp32TestImpl.cpp \
49 test/layerTests/ConvertFp32ToFp16TestImpl.cpp \
50 test/layerTests/DebugTestImpl.cpp \
Aron Virginas-Tar73f66422019-09-23 19:11:59 +010051 test/layerTests/DepthToSpaceTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010052 test/layerTests/DequantizeTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010053 test/layerTests/DivisionTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010054 test/layerTests/FakeQuantizationTestImpl.cpp \
55 test/layerTests/FloorTestImpl.cpp \
56 test/layerTests/FullyConnectedTestImpl.cpp \
57 test/layerTests/GatherTestImpl.cpp \
Aron Virginas-Tar8168f402019-10-04 13:10:16 +010058 test/layerTests/InstanceNormalizationTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010059 test/layerTests/L2NormalizationTestImpl.cpp \
Aron Virginas-Tare662a942019-10-14 15:12:00 +010060 test/layerTests/LogSoftmaxTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010061 test/layerTests/LstmTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010062 test/layerTests/MaximumTestImpl.cpp \
63 test/layerTests/MinimumTestImpl.cpp \
64 test/layerTests/MultiplicationTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010065 test/layerTests/NormalizationTestImpl.cpp \
66 test/layerTests/PadTestImpl.cpp \
67 test/layerTests/Pooling2dTestImpl.cpp \
68 test/layerTests/ReshapeTestImpl.cpp \
Aron Virginas-Tarb3670b12019-10-28 16:06:50 +000069 test/layerTests/ResizeTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010070 test/layerTests/RsqrtTestImpl.cpp \
Aron Virginas-Tar92b9f872019-09-17 17:27:04 +010071 test/layerTests/SliceTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010072 test/layerTests/QuantizeTestImpl.cpp \
73 test/layerTests/SoftmaxTestImpl.cpp \
74 test/layerTests/SpaceToBatchNdTestImpl.cpp \
75 test/layerTests/SpaceToDepthTestImpl.cpp \
76 test/layerTests/SplitterTestImpl.cpp \
Matthew Jacksone69c3992019-09-09 14:31:21 +010077 test/layerTests/StackTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010078 test/layerTests/StridedSliceTestImpl.cpp \
Aron Virginas-Tar94d3b932019-11-11 12:54:47 +000079 test/layerTests/SubtractionTestImpl.cpp \
80 test/layerTests/TransposeConvolution2dTestImpl.cpp
Matteo Martincighe67edb22019-08-14 14:05:46 +010081
Matteo Martincighedd6fdc2019-08-29 18:27:18 +010082ifeq ($(ARMNN_REF_ENABLED),1)
Matteo Martincighe67edb22019-08-14 14:05:46 +010083COMMON_TEST_SOURCES += \
Aron Virginas-Tar69362cc2018-11-22 15:04:42 +000084 test/WorkloadDataValidation.cpp
Matteo Martincighedd6fdc2019-08-29 18:27:18 +010085endif # ARMNN_REF_ENABLED == 1