1*89c4ff92SAndroid Build Coastguard Worker# 2*89c4ff92SAndroid Build Coastguard Worker# Copyright © 2017-2023 ARM Ltd and Contributors. All rights reserved. 3*89c4ff92SAndroid Build Coastguard Worker# SPDX-License-Identifier: MIT 4*89c4ff92SAndroid Build Coastguard Worker# 5*89c4ff92SAndroid Build Coastguard Worker 6*89c4ff92SAndroid Build Coastguard Worker# COMMON_SOURCES contains the list of files to be included 7*89c4ff92SAndroid Build Coastguard Worker# in the Android build and it is picked up by the Android.mk 8*89c4ff92SAndroid Build Coastguard Worker# file in the root of ArmNN 9*89c4ff92SAndroid Build Coastguard Worker 10*89c4ff92SAndroid Build Coastguard WorkerCOMMON_SOURCES := \ 11*89c4ff92SAndroid Build Coastguard Worker TensorHandle.cpp \ 12*89c4ff92SAndroid Build Coastguard Worker DynamicBackend.cpp \ 13*89c4ff92SAndroid Build Coastguard Worker DynamicBackendUtils.cpp \ 14*89c4ff92SAndroid Build Coastguard Worker IBackendInternal.cpp \ 15*89c4ff92SAndroid Build Coastguard Worker ITensorHandleFactory.cpp \ 16*89c4ff92SAndroid Build Coastguard Worker LayerSupportBase.cpp \ 17*89c4ff92SAndroid Build Coastguard Worker MapWorkload.cpp \ 18*89c4ff92SAndroid Build Coastguard Worker MemCopyWorkload.cpp \ 19*89c4ff92SAndroid Build Coastguard Worker MemImportWorkload.cpp \ 20*89c4ff92SAndroid Build Coastguard Worker MemoryManager.cpp \ 21*89c4ff92SAndroid Build Coastguard Worker MemSyncWorkload.cpp \ 22*89c4ff92SAndroid Build Coastguard Worker OptimizationViews.cpp \ 23*89c4ff92SAndroid Build Coastguard Worker TensorHandleFactoryRegistry.cpp \ 24*89c4ff92SAndroid Build Coastguard Worker UnmapWorkload.cpp \ 25*89c4ff92SAndroid Build Coastguard Worker WorkloadData.cpp \ 26*89c4ff92SAndroid Build Coastguard Worker WorkloadFactory.cpp \ 27*89c4ff92SAndroid Build Coastguard Worker WorkloadUtils.cpp \ 28*89c4ff92SAndroid Build Coastguard Worker memoryOptimizerStrategyLibrary/strategies/ConstantMemoryStrategy.cpp \ 29*89c4ff92SAndroid Build Coastguard Worker memoryOptimizerStrategyLibrary/strategies/SingleAxisPriorityList.cpp \ 30*89c4ff92SAndroid Build Coastguard Worker memoryOptimizerStrategyLibrary/strategies/StrategyValidator.cpp 31*89c4ff92SAndroid Build Coastguard Worker 32*89c4ff92SAndroid Build Coastguard Worker 33*89c4ff92SAndroid Build Coastguard Worker# COMMON_TEST_SOURCES contains the list of files to be included 34*89c4ff92SAndroid Build Coastguard Worker# in the Android unit test build (armnn-tests) and it is picked 35*89c4ff92SAndroid Build Coastguard Worker# up by the Android.mk file in the root of ArmNN 36*89c4ff92SAndroid Build Coastguard Worker 37*89c4ff92SAndroid Build Coastguard WorkerCOMMON_TEST_SOURCES := \ 38*89c4ff92SAndroid Build Coastguard Worker test/CustomMemoryOptimizerStrategyTests.cpp \ 39*89c4ff92SAndroid Build Coastguard Worker test/InstanceNormalizationEndToEndTestImpl.cpp \ 40*89c4ff92SAndroid Build Coastguard Worker test/JsonPrinterTestImpl.cpp \ 41*89c4ff92SAndroid Build Coastguard Worker test/LogSoftmaxEndToEndTestImpl.cpp \ 42*89c4ff92SAndroid Build Coastguard Worker test/QLstmEndToEndTestImpl.cpp \ 43*89c4ff92SAndroid Build Coastguard Worker test/QuantizedLstmEndToEndTestImpl.cpp \ 44*89c4ff92SAndroid Build Coastguard Worker test/SpaceToDepthEndToEndTestImpl.cpp \ 45*89c4ff92SAndroid Build Coastguard Worker test/layerTests/AbsTestImpl.cpp \ 46*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ActivationTestImpl.cpp \ 47*89c4ff92SAndroid Build Coastguard Worker test/layerTests/AdditionTestImpl.cpp \ 48*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ArgMinMaxTestImpl.cpp \ 49*89c4ff92SAndroid Build Coastguard Worker test/layerTests/BatchMatMulTestImpl.cpp \ 50*89c4ff92SAndroid Build Coastguard Worker test/layerTests/BatchNormalizationTestImpl.cpp \ 51*89c4ff92SAndroid Build Coastguard Worker test/layerTests/CastTestImpl.cpp \ 52*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ChannelShuffleTestImpl.cpp \ 53*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ComparisonTestImpl.cpp \ 54*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ConcatTestImpl.cpp \ 55*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ConstantTestImpl.cpp \ 56*89c4ff92SAndroid Build Coastguard Worker test/layerTests/Conv2dTestImpl.cpp \ 57*89c4ff92SAndroid Build Coastguard Worker test/layerTests/Conv3dTestImpl.cpp \ 58*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ConvertFp16ToFp32TestImpl.cpp \ 59*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ConvertFp32ToFp16TestImpl.cpp \ 60*89c4ff92SAndroid Build Coastguard Worker test/layerTests/DebugTestImpl.cpp \ 61*89c4ff92SAndroid Build Coastguard Worker test/layerTests/DepthToSpaceTestImpl.cpp \ 62*89c4ff92SAndroid Build Coastguard Worker test/layerTests/DequantizeTestImpl.cpp \ 63*89c4ff92SAndroid Build Coastguard Worker test/layerTests/DivisionTestImpl.cpp \ 64*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ElementwiseUnaryTestImpl.cpp \ 65*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ExpTestImpl.cpp \ 66*89c4ff92SAndroid Build Coastguard Worker test/layerTests/FakeQuantizationTestImpl.cpp \ 67*89c4ff92SAndroid Build Coastguard Worker test/layerTests/FillTestImpl.cpp \ 68*89c4ff92SAndroid Build Coastguard Worker test/layerTests/FloorTestImpl.cpp \ 69*89c4ff92SAndroid Build Coastguard Worker test/layerTests/FullyConnectedTestImpl.cpp \ 70*89c4ff92SAndroid Build Coastguard Worker test/layerTests/GatherNdTestImpl.cpp \ 71*89c4ff92SAndroid Build Coastguard Worker test/layerTests/GatherTestImpl.cpp \ 72*89c4ff92SAndroid Build Coastguard Worker test/layerTests/InstanceNormalizationTestImpl.cpp \ 73*89c4ff92SAndroid Build Coastguard Worker test/layerTests/L2NormalizationTestImpl.cpp \ 74*89c4ff92SAndroid Build Coastguard Worker test/layerTests/LogTestImpl.cpp \ 75*89c4ff92SAndroid Build Coastguard Worker test/layerTests/LogicalTestImpl.cpp \ 76*89c4ff92SAndroid Build Coastguard Worker test/layerTests/LogSoftmaxTestImpl.cpp \ 77*89c4ff92SAndroid Build Coastguard Worker test/layerTests/LstmTestImpl.cpp \ 78*89c4ff92SAndroid Build Coastguard Worker test/layerTests/MaximumTestImpl.cpp \ 79*89c4ff92SAndroid Build Coastguard Worker test/layerTests/MinimumTestImpl.cpp \ 80*89c4ff92SAndroid Build Coastguard Worker test/layerTests/MirrorPadTestImpl.cpp \ 81*89c4ff92SAndroid Build Coastguard Worker test/layerTests/MultiplicationTestImpl.cpp \ 82*89c4ff92SAndroid Build Coastguard Worker test/layerTests/NegTestImpl.cpp \ 83*89c4ff92SAndroid Build Coastguard Worker test/layerTests/NormalizationTestImpl.cpp \ 84*89c4ff92SAndroid Build Coastguard Worker test/layerTests/PadTestImpl.cpp \ 85*89c4ff92SAndroid Build Coastguard Worker test/layerTests/Pooling2dTestImpl.cpp \ 86*89c4ff92SAndroid Build Coastguard Worker test/layerTests/Pooling3dTestImpl.cpp \ 87*89c4ff92SAndroid Build Coastguard Worker test/layerTests/RankTestImpl.cpp \ 88*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ReductionTestImpl.cpp \ 89*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ReduceProdTestImpl.cpp \ 90*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ReduceSumTestImpl.cpp \ 91*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ReshapeTestImpl.cpp \ 92*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ResizeTestImpl.cpp \ 93*89c4ff92SAndroid Build Coastguard Worker test/layerTests/RsqrtTestImpl.cpp \ 94*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SliceTestImpl.cpp \ 95*89c4ff92SAndroid Build Coastguard Worker test/layerTests/QuantizeTestImpl.cpp \ 96*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SinTestImpl.cpp \ 97*89c4ff92SAndroid Build Coastguard Worker test/layerTests/ShapeTestImpl.cpp \ 98*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SoftmaxTestImpl.cpp \ 99*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SpaceToBatchNdTestImpl.cpp \ 100*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SpaceToDepthTestImpl.cpp \ 101*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SplitterTestImpl.cpp \ 102*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SqrtTestImpl.cpp \ 103*89c4ff92SAndroid Build Coastguard Worker test/layerTests/StackTestImpl.cpp \ 104*89c4ff92SAndroid Build Coastguard Worker test/layerTests/StridedSliceTestImpl.cpp \ 105*89c4ff92SAndroid Build Coastguard Worker test/layerTests/SubtractionTestImpl.cpp \ 106*89c4ff92SAndroid Build Coastguard Worker test/layerTests/TransposeConvolution2dTestImpl.cpp \ 107*89c4ff92SAndroid Build Coastguard Worker test/layerTests/UnidirectionalSequenceLstmTestImpl.cpp \ 108*89c4ff92SAndroid Build Coastguard Worker memoryOptimizerStrategyLibrary/test/ConstMemoryStrategyTests.cpp \ 109*89c4ff92SAndroid Build Coastguard Worker memoryOptimizerStrategyLibrary/test/ValidatorStrategyTests.cpp \ 110*89c4ff92SAndroid Build Coastguard Worker memoryOptimizerStrategyLibrary/test/SingleAxisPriorityListTests.cpp 111*89c4ff92SAndroid Build Coastguard Worker 112*89c4ff92SAndroid Build Coastguard Workerifeq ($(ARMNN_REF_ENABLED),1) 113*89c4ff92SAndroid Build Coastguard WorkerCOMMON_TEST_SOURCES += \ 114*89c4ff92SAndroid Build Coastguard Worker test/WorkloadDataValidation.cpp 115*89c4ff92SAndroid Build Coastguard Workerendif # ARMNN_REF_ENABLED == 1 116